Commit 5d39831e authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Merge branch 'issue/fix_warning' into 'master'

fix integer comparison warning

See merge request extensions/dune-vtk!22
parents 847c3e5d 695dd2a9
......@@ -101,7 +101,7 @@ namespace Dune
double evaluate (int c, LocalCoordinate const& xi) const
{
assert(bool(localFct_));
return c < components_.size() ? localFct_->evaluate(components_[c], xi) : 0.0;
return c < int(components_.size()) ? localFct_->evaluate(components_[c], xi) : 0.0;
}
void setComponents (std::vector<int> components)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment