From 8533ae80b6d5ece544ac965863dfe532f2541c0c Mon Sep 17 00:00:00 2001 From: Varun Agrawal Date: Sat, 8 Feb 2025 23:28:24 -0500 Subject: [PATCH] update C++ script --- examples/Hybrid_City10000.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Hybrid_City10000.cpp b/examples/Hybrid_City10000.cpp index 76771ad36..f42496cef 100644 --- a/examples/Hybrid_City10000.cpp +++ b/examples/Hybrid_City10000.cpp @@ -127,7 +127,7 @@ class Experiment { auto bayesNet = linearized->eliminateSequential(); HybridValues delta = bayesNet->optimize(); initial_ = initial_.retract(delta.continuous()); - smoother_.reInitialize(std::move(*bayesNet)); + smoother_.reInitialize(*bayesNet); clock_t afterUpdate = clock(); std::cout << "Took " << (afterUpdate - beforeUpdate) / CLOCKS_PER_SEC << " seconds." << std::endl;