Skip to content
Snippets Groups Projects
Commit d6ab350c authored by Tomáš Oberhuber's avatar Tomáš Oberhuber Committed by Tomáš Oberhuber
Browse files

Fixed StaticVectorTest.

parent 458d9217
No related branches found
No related tags found
1 merge request!32Expression templates 2
......@@ -538,8 +538,8 @@ TYPED_TEST( StaticVectorTest, verticalOperations )
for( int i = 0; i < size; i++ )
{
const RealType aux = ( RealType )( i - size / 2 ) / ( RealType ) size;
u[ i, aux ];
v[ i, -aux ];
u[ i ] = aux;
v[ i ] = -aux;
absMin = TNL::min( absMin, TNL::abs( aux ) );
absMax = TNL::max( absMax, TNL::abs( aux ) );
diffMin = TNL::min( diffMin, 2 * aux );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment