Skip to content
Snippets Groups Projects
Commit 41daa876 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Avoid compiler warnings generated by -Wall

parent 2349f71e
No related branches found
No related tags found
No related merge requests found
......@@ -92,6 +92,9 @@ ObjectType* tnlCuda::passToDevice( const ObjectType& object )
return 0;
}
return deviceObject;
#else
tnlAssert( false, cerr << "CUDA support is missing." );
return 0;
#endif
}
......
......@@ -59,6 +59,7 @@ bool tnlEulerSolver< Problem > :: setup( const tnlParameterContainer& parameters
tnlExplicitSolver< Problem >::setup( parameters, prefix );
if( parameters.checkParameter( prefix + "euler-cfl" ) )
this->setCFLCondition( parameters.getParameter< double >( prefix + "euler-cfl" ) );
return true;
}
template< typename Problem >
......
......@@ -36,6 +36,8 @@ class tnlLinearSystemAssemblerTraverserUserData
const Real* tau;
const Real* timeDiscretisationCoefficient;
const DifferentialOperator* differentialOperator;
const BoundaryConditions* boundaryConditions;
......@@ -46,8 +48,6 @@ class tnlLinearSystemAssemblerTraverserUserData
Matrix *matrix;
const Real* timeDiscretisationCoefficient;
tnlLinearSystemAssemblerTraverserUserData( const Real& time,
const Real& tau,
const Real& timeDiscretisationCoefficient,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment