Skip to content
Snippets Groups Projects
Commit aace62a1 authored by Henry Weller's avatar Henry Weller
Browse files

Revert "VectorSpace: Added printing of out-of-range index"

This reverts commit d881d2af.
parent a375d6b2
No related branches found
No related tags found
No related merge requests found
...@@ -106,7 +106,7 @@ inline const Cmpt& VectorSpace<Form, Cmpt, Ncmpts>::component ...@@ -106,7 +106,7 @@ inline const Cmpt& VectorSpace<Form, Cmpt, Ncmpts>::component
if (d >= Ncmpts) if (d >= Ncmpts)
{ {
FatalErrorInFunction FatalErrorInFunction
<< "index " << d << " out of range" << "index out of range"
<< abort(FatalError); << abort(FatalError);
} }
#endif #endif
...@@ -125,7 +125,7 @@ inline Cmpt& VectorSpace<Form, Cmpt, Ncmpts>::component ...@@ -125,7 +125,7 @@ inline Cmpt& VectorSpace<Form, Cmpt, Ncmpts>::component
if (d >= Ncmpts) if (d >= Ncmpts)
{ {
FatalErrorInFunction FatalErrorInFunction
<< "index " << d << "out of range" << "index out of range"
<< abort(FatalError); << abort(FatalError);
} }
#endif #endif
...@@ -145,7 +145,7 @@ inline void VectorSpace<Form, Cmpt, Ncmpts>::component ...@@ -145,7 +145,7 @@ inline void VectorSpace<Form, Cmpt, Ncmpts>::component
if (d >= Ncmpts) if (d >= Ncmpts)
{ {
FatalErrorInFunction FatalErrorInFunction
<< "index " << d << " out of range" << "index out of range"
<< abort(FatalError); << abort(FatalError);
} }
#endif #endif
...@@ -165,7 +165,7 @@ inline void VectorSpace<Form, Cmpt, Ncmpts>::replace ...@@ -165,7 +165,7 @@ inline void VectorSpace<Form, Cmpt, Ncmpts>::replace
if (d >= Ncmpts) if (d >= Ncmpts)
{ {
FatalErrorInFunction FatalErrorInFunction
<< "index " << d << " out of range" << "index out of range"
<< abort(FatalError); << abort(FatalError);
} }
#endif #endif
...@@ -205,7 +205,7 @@ inline const Cmpt& VectorSpace<Form, Cmpt, Ncmpts>::operator[] ...@@ -205,7 +205,7 @@ inline const Cmpt& VectorSpace<Form, Cmpt, Ncmpts>::operator[]
if (d >= Ncmpts) if (d >= Ncmpts)
{ {
FatalErrorInFunction FatalErrorInFunction
<< "index " << d << " out of range" << "index out of range"
<< abort(FatalError); << abort(FatalError);
} }
#endif #endif
...@@ -224,7 +224,7 @@ inline Cmpt& VectorSpace<Form, Cmpt, Ncmpts>::operator[] ...@@ -224,7 +224,7 @@ inline Cmpt& VectorSpace<Form, Cmpt, Ncmpts>::operator[]
if (d >= Ncmpts) if (d >= Ncmpts)
{ {
FatalErrorInFunction FatalErrorInFunction
<< "index " << d << " out of range" << "index out of range"
<< abort(FatalError); << abort(FatalError);
} }
#endif #endif
...@@ -246,7 +246,7 @@ ConstBlock<SubVector, BStart>::operator[] ...@@ -246,7 +246,7 @@ ConstBlock<SubVector, BStart>::operator[]
if (i >= Ncmpts) if (i >= Ncmpts)
{ {
FatalErrorInFunction FatalErrorInFunction
<< "index " << d << " out of range" << "index out of range"
<< abort(FatalError); << abort(FatalError);
} }
#endif #endif
...@@ -269,7 +269,7 @@ ConstBlock<SubVector, BStart>::operator() ...@@ -269,7 +269,7 @@ ConstBlock<SubVector, BStart>::operator()
if (i >= Ncmpts) if (i >= Ncmpts)
{ {
FatalErrorInFunction FatalErrorInFunction
<< "index " << d << " out of range" << "index out of range"
<< abort(FatalError); << abort(FatalError);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment