Skip to content

Commit

Permalink
Merge pull request #1886 from borglab/fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
varunagrawal authored Oct 26, 2024
2 parents 3d62226 + 92b3272 commit 210e582
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
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

0 comments on commit 210e582

Please sign in to comment.