Loading src/implementation/mesh/tnlGrid1D_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -261,7 +261,7 @@ template< typename Real, lpNorm += pow( p, tnlAbs( f1[ c ] - f2[ c ] ) ) * this->getElementMeasure( CoordinatesType( i ) ); } return pow( 1.0 / p, lpNorm ); return pow( lpNorm, 1.0 / p ); } Loading src/implementation/mesh/tnlGrid3D_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -261,7 +261,7 @@ template< typename Real, lpNorm += pow( p, tnlAbs( f1[ c ] - f2[ c ] ) ) * this->getElementMeasure( CoordinatesType( i, j, k ) ); } return pow( 1.0 / p, lpNorm ); return pow( lpNorm, 1.0 / p ); } template< typename Real, Loading Loading
src/implementation/mesh/tnlGrid1D_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -261,7 +261,7 @@ template< typename Real, lpNorm += pow( p, tnlAbs( f1[ c ] - f2[ c ] ) ) * this->getElementMeasure( CoordinatesType( i ) ); } return pow( 1.0 / p, lpNorm ); return pow( lpNorm, 1.0 / p ); } Loading
src/implementation/mesh/tnlGrid3D_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -261,7 +261,7 @@ template< typename Real, lpNorm += pow( p, tnlAbs( f1[ c ] - f2[ c ] ) ) * this->getElementMeasure( CoordinatesType( i, j, k ) ); } return pow( 1.0 / p, lpNorm ); return pow( lpNorm, 1.0 / p ); } template< typename Real, Loading