diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-10-09 13:24:17 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-10-09 13:24:17 +0200 |
| commit | 7095c698f5c5b7e960db9f9347501b8628f94dac (patch) | |
| tree | 3e8a906785412bab1fbe1c31f8e482bab07f2378 /examples/throat_clog_2d/init.hpp | |
| parent | 960c47db8004e12ac49d915116c86945f746a2a8 (diff) | |
| download | libs-lbm-7095c698f5c5b7e960db9f9347501b8628f94dac.tar.gz | |
Trying to fix things
Diffstat (limited to 'examples/throat_clog_2d/init.hpp')
| -rw-r--r-- | examples/throat_clog_2d/init.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/throat_clog_2d/init.hpp b/examples/throat_clog_2d/init.hpp index 1fb1e32..538e314 100644 --- a/examples/throat_clog_2d/init.hpp +++ b/examples/throat_clog_2d/init.hpp @@ -169,11 +169,11 @@ saw::error_or<void> init( auto& p = parts.at({0u}); auto& prb = p.template get<"rigid_body">(); auto& p_pos = prb.template get<"position">(); - auto& p_posold = prb.template get<"position_old">(); + auto& p_pos_old = prb.template get<"position_old">(); p_pos.at({{0u}}) = conv.meter_si_to_lbm({{0.18}}).handle(); p_pos.at({{1u}}) = conv.meter_si_to_lbm({{0.25}}).handle(); - p_posold = p_pos; + p_pos_old = p_pos; } } |
