Skip to content

Commit

Permalink
Specify default filtering energy in usage msg
Browse files Browse the repository at this point in the history
  • Loading branch information
nmnobre committed Jul 3, 2023
1 parent f4d14af commit 3bbb9b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ Options:
--op INT Boolean operation: 0: union, 1: intersection, 2: difference.
-l,--lr FLOAT ideal_edge_length = diag_of_bbox * L. (double, optional, default: 0.05)
-e,--epsr FLOAT epsilon = diag_of_bbox * EPS. (double, optional, default: 1e-3)
--stop-energy FLOAT Stop optimization when max energy is lower than this.
--stop-energy FLOAT Stop optimization when max energy is lower than this. (double, optional, default: 10.0)
--log TEXT Log info to given file.
--level INT Log level (0 = most verbose, 6 = off).
-q,--is-quiet Mute console output. (optional)
Expand Down
4 changes: 3 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,9 @@ int main(int argc, char** argv)

command_line.add_option("--max-its", params.max_its, "(for debugging usage only)");
command_line.add_option(
"--stop-energy", params.stop_energy, "Stop optimization when max energy is lower than this.");
"--stop-energy",
params.stop_energy,
"Stop optimization when max energy is lower than this. (double, optional, default: 10.0)");
command_line.add_option("--stage", params.stage, "(for debugging usage only)");
command_line.add_option("--stop-p", params.stop_p, "(for debugging usage only)");

Expand Down

0 comments on commit 3bbb9b1

Please sign in to comment.