From aace62a1b805d7b8214d343111a0ea18182e2a2d Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Thu, 27 Oct 2016 20:57:10 +0100 Subject: [PATCH] Revert "VectorSpace: Added printing of out-of-range index" This reverts commit d881d2afe6f31b484af629fc4c1153e7b323d590. --- .../primitives/VectorSpace/VectorSpaceI.H | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/OpenFOAM/primitives/VectorSpace/VectorSpaceI.H b/src/OpenFOAM/primitives/VectorSpace/VectorSpaceI.H index 3488217e07..f90adbb0ff 100644 --- a/src/OpenFOAM/primitives/VectorSpace/VectorSpaceI.H +++ b/src/OpenFOAM/primitives/VectorSpace/VectorSpaceI.H @@ -106,7 +106,7 @@ inline const Cmpt& VectorSpace::component if (d >= Ncmpts) { FatalErrorInFunction - << "index " << d << " out of range" + << "index out of range" << abort(FatalError); } #endif @@ -125,7 +125,7 @@ inline Cmpt& VectorSpace::component if (d >= Ncmpts) { FatalErrorInFunction - << "index " << d << "out of range" + << "index out of range" << abort(FatalError); } #endif @@ -145,7 +145,7 @@ inline void VectorSpace::component if (d >= Ncmpts) { FatalErrorInFunction - << "index " << d << " out of range" + << "index out of range" << abort(FatalError); } #endif @@ -165,7 +165,7 @@ inline void VectorSpace::replace if (d >= Ncmpts) { FatalErrorInFunction - << "index " << d << " out of range" + << "index out of range" << abort(FatalError); } #endif @@ -205,7 +205,7 @@ inline const Cmpt& VectorSpace::operator[] if (d >= Ncmpts) { FatalErrorInFunction - << "index " << d << " out of range" + << "index out of range" << abort(FatalError); } #endif @@ -224,7 +224,7 @@ inline Cmpt& VectorSpace::operator[] if (d >= Ncmpts) { FatalErrorInFunction - << "index " << d << " out of range" + << "index out of range" << abort(FatalError); } #endif @@ -246,7 +246,7 @@ ConstBlock::operator[] if (i >= Ncmpts) { FatalErrorInFunction - << "index " << d << " out of range" + << "index out of range" << abort(FatalError); } #endif @@ -269,7 +269,7 @@ ConstBlock::operator() if (i >= Ncmpts) { FatalErrorInFunction - << "index " << d << " out of range" + << "index out of range" << abort(FatalError); }