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

avoid compiler warning

[[Imported from SVN: r2084]]
parent 28b97ce8
No related branches found
No related tags found
No related merge requests found
......@@ -246,7 +246,7 @@ void Dune::MultiGridTransfer<DiscFuncType>::restrict (const DiscFuncType & f, Di
template<class DiscFuncType>
void Dune::MultiGridTransfer<DiscFuncType>::restrict (const Dune::BitField& f, Dune::BitField& t) const
{
if (f.size() != matrix_.N())
if (f.size() != (unsigned int)matrix_.N())
DUNE_THROW(Exception, "Fine grid bitfield has " << f.size() << " entries "
<< "but the interpolation matrix has " << matrix_.N() << " rows!");
......
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