update paths

release/4.3a0
Varun Agrawal 2023-10-19 08:27:53 -04:00
parent e8817ae3ea
commit a46a78d413
3 changed files with 5 additions and 5 deletions

View File

@ -26,9 +26,9 @@
#pragma once #pragma once
#include <gtsam/nonlinear/GncHelpers.h>
#include <gtsam/nonlinear/GncParams.h> #include <gtsam/nonlinear/GncParams.h>
#include <gtsam/nonlinear/NonlinearFactorGraph.h> #include <gtsam/nonlinear/NonlinearFactorGraph.h>
#include <gtsam/nonlinear/internal/chiSquaredInverse.h>
namespace gtsam { namespace gtsam {
/* /*

View File

@ -10,7 +10,7 @@
* -------------------------------------------------------------------------- */ * -------------------------------------------------------------------------- */
/** /**
* @file GncHelpers.h * @file chiSquaredInverse.h
* @brief Helper functions for use with the GncOptimizer * @brief Helper functions for use with the GncOptimizer
* @author Varun Agrawal * @author Varun Agrawal
*/ */

View File

@ -10,7 +10,7 @@
* -------------------------------------------------------------------------- */ * -------------------------------------------------------------------------- */
/* /*
* @file testGncHelpers.cpp * @file testChiSquaredInverse.cpp
* @date July 10, 2023 * @date July 10, 2023
* @author Varun Agrawal * @author Varun Agrawal
* @brief Tests for Chi-squared distribution. * @brief Tests for Chi-squared distribution.
@ -18,12 +18,12 @@
#include <CppUnitLite/TestHarness.h> #include <CppUnitLite/TestHarness.h>
#include <gtsam/base/Testable.h> #include <gtsam/base/Testable.h>
#include <gtsam/nonlinear/GncHelpers.h> #include <gtsam/nonlinear/internal/chiSquaredInverse.h>
using namespace gtsam; using namespace gtsam;
/* ************************************************************************* */ /* ************************************************************************* */
TEST(GncHelpers, ChiSqInv) { TEST(ChiSquaredInverse, ChiSqInv) {
double barcSq = chi_squared_quantile(2, 0.99); double barcSq = chi_squared_quantile(2, 0.99);
EXPECT_DOUBLES_EQUAL(9.21034, barcSq, 1e-5); EXPECT_DOUBLES_EQUAL(9.21034, barcSq, 1e-5);
} }