Skip to content

Commit

Permalink
Fix wrong parallel loop function call (doyubkim#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
doyubkim authored Apr 27, 2020
1 parent c9e153a commit 64f0aa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jet/grid_forward_euler_diffusion_solver3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ void GridForwardEulerDiffusionSolver3::solve(

buildMarkers(source.wSize(), wPos, boundarySdf, fluidSdf);

source.parallelForEachUIndex(
source.parallelForEachWIndex(
[&](size_t i, size_t j, size_t k) {
if (!isInsideSdf(boundarySdf.sample(wPos(i, j, k)))) {
w(i, j, k)
Expand Down

0 comments on commit 64f0aa9

Please sign in to comment.