[Dune] Error while using Dune:SingleCodimSingleGeomTypeMapper<GV, c>::size() function

Jö Fahlke jorrit at jorrit.de
Sat Apr 9 08:54:23 CEST 2011


Am Sat,  9. Apr 2011, 11:53:47 +0530 schrieb Jayesh Badwaik:
> sorry, was going to include it but forgot in a hurry
> i've attached the exact error message
> 
> by the way, this is with respect to dune-2.0
> 
> however just now i've discovered that the function works properly if i do
> the following
> 
> line 159 in dune-grid-2.0/dune/grid/common/scscmapper.hh is
> return is.size(c,is.geomTypes(c)[0]);
> 
> instead if i replace it by
> return is.size(is.geomTypes(c)[0]);
> 
> then the program works properly

OK, that looks indeed like the correct fix.

I'm going to apply it to the trunk and I'll ask the release managers to merge
it to the 2.1 release as well.

Bye,
Jö.

-- 
The irony is that Bill Gates claims to be making a stable operating
system and Linus Torvalds claims to be trying to take over the world.
-- seen on the net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20110409/cefed33c/attachment.sig>


More information about the Dune mailing list