small fixes to City10000.h

release/4.3a0
Varun Agrawal 2025-02-06 16:45:27 -05:00
parent 2b918f1e99
commit 5480449445
1 changed files with 3 additions and 1 deletions

View File

@ -25,6 +25,8 @@
using namespace gtsam;
using namespace boost::algorithm;
using symbol_shorthand::X;
auto kOpenLoopModel = noiseModel::Diagonal::Sigmas(Vector3::Ones() * 10);
const double kOpenLoopConstant = kOpenLoopModel->negLogConstant();
@ -84,7 +86,7 @@ class City10000Dataset {
* @param filename The file name to save the result to.
*/
void writeResult(const Values& result, size_t numPoses,
const std::string& filename = "Hybrid_city10000.txt") const {
const std::string& filename = "Hybrid_city10000.txt") {
std::ofstream outfile;
outfile.open(filename);