summaryrefslogtreecommitdiff
path: root/examples/throat_clog_2d/init.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/throat_clog_2d/init.hpp')
-rw-r--r--examples/throat_clog_2d/init.hpp4
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;
}
}