Merge pull request #1667 from borglab/fix/warnings

release/4.3a0
Varun Agrawal 2023-12-04 15:55:29 -05:00 committed by GitHub
commit 2b545499c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 6 deletions

View File

@ -169,10 +169,10 @@ discreteElimination(const HybridGaussianFactorGraph &factors,
// TODO(dellaert): is this correct? If so explain here.
} else if (auto hc = dynamic_pointer_cast<HybridConditional>(f)) {
auto dc = hc->asDiscrete();
if (!dc) throwRuntimeError("continuousElimination", dc);
if (!dc) throwRuntimeError("discreteElimination", dc);
dfg.push_back(hc->asDiscrete());
} else {
throwRuntimeError("continuousElimination", f);
throwRuntimeError("discreteElimination", f);
}
}

View File

@ -31,8 +31,10 @@ namespace gtsam {
/**
* A GaussianConditional functions as the node in a Bayes network.
* It has a set of parents y,z, etc. and implements a probability density on x.
* It has a set of parents y,z, etc. and implements a Gaussian probability density p(x | y, z) on x.
* The negative log-density is given by \f$ \frac{1}{2} |Rx - (d - Sy - Tz - ...)|^2 \f$
* The mean of the conditional density is \f$ R^{-1}(d - Sy - Tz - ...) \f$.
* The covariance of the conditional density is given by the noise model and is constrained to be diagonal.
* @ingroup linear
*/
class GTSAM_EXPORT GaussianConditional :

View File

@ -10,7 +10,7 @@
* -------------------------------------------------------------------------- */
/**
* @file NavState.h
* @file NavState.cpp
* @brief Navigation state composing of attitude, position, and velocity
* @author Frank Dellaert
* @date July 2015

View File

@ -1,9 +1,9 @@
# Install headers
file(GLOB nonlinear_headers "*.h")
install(FILES ${nonlinear_headers} DESTINATION include/gtsam/nonlinear)
install(FILES ${nonlinear_headers} DESTINATION "include/gtsam/nonlinear")
file(GLOB nonlinear_headers_internal "internal/*.h")
install(FILES ${nonlinear_headers_internal} DESTINATION include/gtsam/nonlinear/internal)
install(FILES ${nonlinear_headers_internal} DESTINATION "include/gtsam/nonlinear/internal")
# Build tests
add_subdirectory(tests)