Skip to content
Snippets Groups Projects
Commit e4aac2e5 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[MaL] Add fatal error in impossible default case

Resolves cppcheck warning about missing return statement.
parent c85a3bba
No related branches found
No related tags found
No related merge requests found
......@@ -195,6 +195,8 @@ Type<DisplacementDim> toVector(Eigen::MatrixBase<Derived> const& tensor)
{
return tensor.reshaped();
}
OGS_FATAL(
"Not all cases handled in the VectorizedTensor::toVector() function.");
}
/// Converts a vectorized tensor to a 3x3 matrix.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment