Skip to content
This repository has been archived by the owner on Oct 26, 2018. It is now read-only.

Commit

Permalink
Fixes swapped verboselevel and condition.
Browse files Browse the repository at this point in the history
Change-Id: I296d86e6bbf415be4bfd19d6a0fe0963e3d36d74
  • Loading branch information
bjornpiltz authored and sandwichmaker committed May 7, 2014
1 parent 3209b04 commit cbf9554
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/ceres/minimizer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ bool Minimizer::RunCallbacks(const Minimizer::Options& options,
case SOLVER_TERMINATE_SUCCESSFULLY:
summary->termination_type = USER_SUCCESS;
summary->message = "User callback returned SOLVER_TERMINATE_SUCCESSFULLY.";
VLOG_IF(is_not_silent, 1) << "Terminating: " << summary->message;
VLOG_IF(1, is_not_silent) << "Terminating: " << summary->message;
return false;
case SOLVER_ABORT:
summary->termination_type = USER_FAILURE;
summary->message = "User callback returned SOLVER_ABORT.";
VLOG_IF(is_not_silent, 1) << "Terminating: " << summary->message;
VLOG_IF(1, is_not_silent) << "Terminating: " << summary->message;
return false;
default:
LOG(FATAL) << "Unknown type of user callback status";
Expand Down

0 comments on commit cbf9554

Please sign in to comment.