diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-03-03 19:46:31 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-03-03 19:46:31 +0100 |
| commit | 16700f013886b8d8cb02e322c2d66c00179d9c89 (patch) | |
| tree | b7b72604bb48c6e3e1374a23307476aedf1f77d5 /lib/core/c++/boundary.hpp | |
| parent | 75fda9a23cd30efa72bd212d5642c3d30ee34913 (diff) | |
| download | libs-lbm-16700f013886b8d8cb02e322c2d66c00179d9c89.tar.gz | |
Fixing ZouHe?
Diffstat (limited to 'lib/core/c++/boundary.hpp')
| -rw-r--r-- | lib/core/c++/boundary.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/core/c++/boundary.hpp b/lib/core/c++/boundary.hpp index d5f3022..0a4ff4d 100644 --- a/lib/core/c++/boundary.hpp +++ b/lib/core/c++/boundary.hpp @@ -135,7 +135,7 @@ public: for(saw::data<sch::UInt64> k{0u}; k < saw::data<sch::UInt64>{Descriptor::Q}; ++k){ auto c_k = dfi::directions[k.get()]; - if(c_k[0u]*known_dir <= 0){ + if(c_k[0u]*known_dir >= 0){ sum_df += dfs_old.at({k}); } } @@ -147,7 +147,7 @@ public: for(saw::data<sch::UInt64> k{0u}; k < saw::data<sch::UInt64>{Descriptor::Q}; ++k){ auto c_k = dfi::directions[k.get()]; - if(c_k[0u]*known_dir < 0){ + if(c_k[0u]*known_dir > 0){ sum_unknown_dfs += dfs_old.at({k}) * c_k[0u]; } } |
