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

Fixes #1886

Merged
merged 7 commits into from
Oct 26, 2024
Merged

Fixes #1886

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 .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name: "Bug Report"
about: Submit a bug report to help us improve GTSAM
---

<!-- This is a channel to report bugs/issues, not a support channel to help install/use/debug your own code. We'd love to help, but just don't have the bandwidth. Please post questions in the GTSAM Google group (https://groups.google.com/forum/#!forum/gtsam-users) -->

<!--Please only submit issues/bug reports that come with enough information to reproduce them, ideally a unit test that fails, and possible ideas on what might be wrong. -->

<!-- Even better yet, fix the bug and/or documentation, add a unit test, and create a pull request! -->

<!-- This is a channel to report bugs/issues, not a support channel to help install/use/debug your own code. We'd love to help, but just don't have the bandwidth. Please post questions in the GTSAM Google group (https://groups.google.com/forum/#!forum/gtsam-users) -->

## Description

<!-- A clear description of the bug -->
Expand Down
Empty file modified containers/hub_push.sh
100644 → 100755
Empty file.
6 changes: 3 additions & 3 deletions gtsam/linear/linear.i
Original file line number Diff line number Diff line change
Expand Up @@ -733,10 +733,10 @@ virtual class BlockJacobiPreconditionerParameters : gtsam::PreconditionerParamet
#include <gtsam/linear/PCGSolver.h>
virtual class PCGSolverParameters : gtsam::ConjugateGradientParameters {
PCGSolverParameters();
PCGSolverParameters(gtsam::PreconditionerParameters* preconditioner);
PCGSolverParameters(const gtsam::PreconditionerParameters* preconditioner);
void print(string s = "");
gtsam::PreconditionerParameters* preconditioner;

std::shared_ptr<gtsam::PreconditionerParameters> preconditioner;
};

#include <gtsam/linear/SubgraphSolver.h>
Expand Down
2 changes: 1 addition & 1 deletion gtsam/nonlinear/NonlinearConjugateGradientOptimizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ double lineSearch(const S &system, const V currentValues, const W &gradient) {
double newError = system.error(newValues);

while (true) {
const bool flag = (maxStep - newStep > newStep - minStep) ? true : false;
const bool flag = (maxStep - newStep > newStep - minStep);
const double testStep = flag ? newStep + resphi * (maxStep - newStep)
: newStep - resphi * (newStep - minStep);

Expand Down
2 changes: 1 addition & 1 deletion gtsam/nonlinear/internal/ChiSquaredInverse.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ namespace internal {
* @param alpha Quantile value
* @return double
*/
double chi_squared_quantile(const double dofs, const double alpha) {
inline double chi_squared_quantile(const double dofs, const double alpha) {
return 2 * igami(dofs / 2, alpha);
}

Expand Down
Loading