Skip to content

Commit

Permalink
to string
Browse files Browse the repository at this point in the history
  • Loading branch information
cvarni committed Oct 7, 2024
1 parent 7a01fc3 commit 0226d95
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ struct CylindricalSpacePointGridConfig {

if (phiMin < -M_PI || phiMax > M_PI) {
throw std::runtime_error(
"CylindricalSpacePointGridConfig: phiMin ("
<< phiMin << ") and/or phiMax (" << phiMax
<< ") are outside "
"the allowed phi range, defined as [-M_PI, M_PI]");
"CylindricalSpacePointGridConfig: phiMin (" + std::to_string(phiMin) +
") and/or phiMax (" + std::to_string(phiMax) +
") are outside "
"the allowed phi range, defined as [-M_PI, M_PI]");
}
if (phiMin > phiMax) {
throw std::runtime_error(
Expand Down

0 comments on commit 0226d95

Please sign in to comment.