Skip to content

Commit

Permalink
Provide more information about contracting
Browse files Browse the repository at this point in the history
  • Loading branch information
Erin Molloy committed Mar 21, 2024
1 parent 5dda4e8 commit f40cc44
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/instance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,9 @@ int Instance::parse(int argc, char **argv) {
return 2;
}

std::cout << "contract support threshold: " << (double)support_threshold << std::endl;
std::cout << "contract support threshold: " << (double)support_threshold << " ("
<< (double)(support_low + ((support_high - support_low) * support_threshold))
<< " pre-transform)" << std::endl;

if (support_threshold < 0 || support_threshold > 1) {
std::cout << "\nERROR: Support threshold must be between 0 and 1 (it's applied after support values are mapped to this interval)" << std::endl;
Expand Down

0 comments on commit f40cc44

Please sign in to comment.