Skip to content

Commit

Permalink
Move tools/bazel.rc to prepare for bazel 0.17 (#1375)
Browse files Browse the repository at this point in the history
* Move tools/bazel.rc to prepare for bazel 0.17

Bazel 0.17 will no longer import the legacy "tools/bazel.rc" config
file. This change ensures compatibility with the new versions.

For users on bazel 0.16 and earlier who have a ~/.bazelrc, this change
will cause bazel to ignore their ~/.bazelrc and load this one instead.
Hopefully this won't break anyone. (famous last words)
  • Loading branch information
drigz authored and pifon2a committed Aug 9, 2018
1 parent 4d6120d commit 8d0457d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,8 @@ void OptimizationProblem2D::Solve(
}
// Add cost functions for landmarks.
AddLandmarkCostFunctions(landmark_nodes, freeze_landmarks, node_data_,
&C_nodes, &C_landmarks, &problem, options_.huber_scale());
&C_nodes, &C_landmarks, &problem,
options_.huber_scale());
// Add penalties for violating odometry or changes between consecutive nodes
// if odometry is not available.
for (auto node_it = node_data_.begin(); node_it != node_data_.end();) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,8 @@ void OptimizationProblem3D::Solve(
}
// Add cost functions for landmarks.
AddLandmarkCostFunctions(landmark_nodes, freeze_landmarks, node_data_,
&C_nodes, &C_landmarks, &problem, options_.huber_scale());
&C_nodes, &C_landmarks, &problem,
options_.huber_scale());
// Add constraints based on IMU observations of angular velocities and
// linear acceleration.
if (!options_.fix_z_in_3d()) {
Expand Down

0 comments on commit 8d0457d

Please sign in to comment.