Skip to content
Snippets Groups Projects
Commit fdf6860d authored by Christian Engwer's avatar Christian Engwer
Browse files

size methods should return size_type not int

[[Imported from SVN: r5978]]
parent a9534a82
No related branches found
No related tags found
No related merge requests found
......@@ -513,7 +513,7 @@ namespace Dune {
}
/** \brief Return the number of blocks */
int size() const
size_type size() const
{
return BlocklessBaseClass::size()/block_size;
}
......@@ -574,7 +574,7 @@ namespace Dune {
}
//! Returns the number of set bits, while each block is masked with 1<<i
int countmasked(int j) const
size_type countmasked(int j) const
{
size_type n = 0;
size_type blocks = 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