Skip to content
Snippets Groups Projects
Commit f4d12b8d authored by Sander, Oliver's avatar Sander, Oliver
Browse files

Avoid a signed/unsigned warning

parent aec56ace
No related branches found
No related tags found
1 merge request!93Enable more tests for the various TargetSpace classes
...@@ -25,7 +25,7 @@ namespace Dune::GFE { ...@@ -25,7 +25,7 @@ namespace Dune::GFE {
template <class field_type> template <class field_type>
FieldMatrix<field_type,3,3> operator() (const FieldMatrix<field_type,3,3>& matrix, double tol = 0.001) const FieldMatrix<field_type,3,3> operator() (const FieldMatrix<field_type,3,3>& matrix, double tol = 0.001) const
{ {
int maxIterations = 100; size_t maxIterations = 100;
// Use Higham's method // Use Higham's method
auto polar = matrix; auto polar = matrix;
for (size_t i=0; i<maxIterations; i++) for (size_t i=0; i<maxIterations; i++)
...@@ -323,4 +323,4 @@ namespace Dune::GFE { ...@@ -323,4 +323,4 @@ namespace Dune::GFE {
}; };
} }
#endif #endif
\ No newline at end of file
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