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

[cleanup] Minor code simplification

parent d498dcb6
No related branches found
No related tags found
No related merge requests found
......@@ -1031,10 +1031,7 @@ namespace Dune {
//! return true if column index is in row
bool contains (size_type j)
{
if (pattern.find(j)!=pattern.end())
return true;
else
return false;
return pattern.find(j) != pattern.end();
}
/**
* @brief Get the current row size.
......
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