diff --git a/lib/lattice/Lattice_where.h b/lib/lattice/Lattice_where.h index a0c41d0d..92d43c1e 100644 --- a/lib/lattice/Lattice_where.h +++ b/lib/lattice/Lattice_where.h @@ -58,7 +58,7 @@ inline void whereWolf(Lattice &ret,const Lattice &predicate,Lattice< std::vector truevals (Nsimd); std::vector falsevals(Nsimd); - parallel_for(int ss=0;ssoSites(); ss++){ + thread_loop( (int ss=iftrue.begin(); ss &ret,const Lattice &predicate,Lattice< } merge(ret._odata[ss],falsevals); - } + }) + ); } template