From 37c5d28e455c9eb682f9e744a6c3c36a6a5bcf9c 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 f6472568b32c8155317be0c4a76ca2cbeb34b603. --- .../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); }