diff --git a/src/Estimators/TraceManager.h b/src/Estimators/TraceManager.h index 1392b0e1f..9fc05990b 100644 --- a/src/Estimators/TraceManager.h +++ b/src/Estimators/TraceManager.h @@ -1670,7 +1670,7 @@ public: streaming_traces = traces_requested && method_allows_traces; if(streaming_traces) { - if (omp_get_thread_num==0) + if (omp_get_thread_num()==0) { app_log()<<"\n TraceManager::put() "<myName<checkout_trace_quantities(tm); } for(int i=0; imyName<checkout_trace_quantities(tm); } @@ -374,11 +374,11 @@ void QMCHamiltonian::initialize_traces(TraceManager& tm,ParticleSet& P) tm.screen_writes(); //observables that depend on traces check them out - if(first_init && omp_get_thread_num==0) + if(first_init && omp_get_thread_num()==0) app_log()<<"\n Hamiltonian is fulfilling trace requests from observables"<myName<get_required_traces(tm); }