Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various Fixes #1667

Merged
merged 5 commits into from
Dec 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gtsam/hybrid/HybridGaussianFactorGraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down
4 changes: 3 additions & 1 deletion gtsam/linear/GaussianConditional.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 :
Expand Down
2 changes: 1 addition & 1 deletion gtsam/navigation/NavState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions gtsam/nonlinear/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)