Skip to content

Commit 9f81023

Browse files
committed
Backport PR #914
1 parent 2470543 commit 9f81023

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Material/BoundsCheck.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace tfel {
3232
const std::string& b) {
3333
throw(OutOfBoundsException(
3434
"BoundsCheckBase::throwOutOfUpperBoundsException : variable '" + n +
35-
"' is below its lower bound (" + v + ">" + b + ")"));
35+
"' is above its upper bound (" + v + ">" + b + ")"));
3636
}
3737

3838
void BoundsCheckBase::throwOutOfBoundsException(const std::string& n,
@@ -59,7 +59,7 @@ namespace tfel {
5959
const std::string& b) {
6060
using namespace std;
6161
cerr << "BoundsCheckBase::displayOutOfUpperBoundsWarning : variable '"
62-
<< n << "' is below its lower bound (" << v << ">" << b << ")"
62+
<< n << "' is above its upper bound (" << v << ">" << b << ")"
6363
<< endl;
6464
}
6565

0 commit comments

Comments
 (0)