Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-urban committed Apr 15, 2024
1 parent de0d804 commit 673f61b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class AkimaInterpolator : public I_Interpolator<XYType, XYType>
return _min_linearextrapolator(target_x);

default: // fail
throw std::out_of_range(fmt::format("test"));
throw std::out_of_range("test");
throw std::out_of_range(fmt::format(
"ERROR[INTERPOLATE]: x value [{}] is out of range (too small)({}/{})! "
"(and fail on extrapolate was set)",
Expand All @@ -166,7 +166,7 @@ class AkimaInterpolator : public I_Interpolator<XYType, XYType>
return _max_linearextrapolator(target_x);

default: // fail
throw std::out_of_range(fmt::format("test"));
throw std::out_of_range("test");
throw std::out_of_range(fmt::format(
"ERROR[INTERPOLATE]: x value [{}] is out of range (too large)({}/{})! "
"(and fail on extrapolate was set)",
Expand Down

0 comments on commit 673f61b

Please sign in to comment.