Skip to content

Commit

Permalink
Update error messages for hpfrt regularization (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
MalachiTimothyPhillips authored Aug 28, 2021
1 parent 5c85055 commit 672add6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/parReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1024,12 +1024,12 @@ void parseRegularization(const int rank, setupAide &options,
int err = 0;
double weight = te_interp(items[1].c_str(), &err);
if (err)
exit("Invalid expression for filterWeight!", EXIT_FAILURE);
exit("Invalid expression for scalingCoeff!", EXIT_FAILURE);
options.setArgs(parPrefix + "HPFRT STRENGTH", to_string_f(weight));
}
}
if (!setsStrength) {
exit("ERROR: required weight parameter for hpfrt regularization is not "
exit("ERROR: required parameter scalingCoeff for hpfrt regularization is not "
"set!\n",
EXIT_FAILURE);
}
Expand Down

0 comments on commit 672add6

Please sign in to comment.