Skip to content

#949 Non-matching FieldVector types

Metadata

Property Value
Reported by Tobias Malkmus (tomalk@mathematik.uni-freiburg.de)
Reported at Sep 8, 2011 13:16
Type Bug Report
Version 2.1
Operating System Unspecified / All
Last edited by Markus Blatt (markus@dr-blatt.de)
Last edited at Sep 8, 2011 19:42
Closed by Markus Blatt (markus@dr-blatt.de)
Closed at Sep 8, 2011 19:42
Closed in version Unknown
Resolution Implemented
Comment

Description

Hi all.

While working with Dune::FieldVector in a class i found a strange behavier of the FieldVectors

Compiling the attached code with gcc 4.4.6 and CXXFLAGS= -O3 -Wall -DNDEBUG -funroll-loops -finline-functions results neigther in an compiler error that two is not of type ScalarType and one not of type VectorType nor in an exception. Using CXXFLAGS=-g -Wall of course, throws an exception that there are some missmatches in the dimension. One would expect a compiler error here that there some missmatching types.

My core Modules are: Path: dune-grid URL: https://svn.dune-project.org/svn/dune-grid/trunk Repository Root: https://svn.dune-project.org/svn/dune-grid Repository UUID: f82f27de-4411-0410-b156-930a902cda50 Revision: 7671 Node Kind: directory Schedule: normal Last Changed Author: mnolte Last Changed Rev: 7671 Last Changed Date: 2011-09-03 15:55:55 +0200 (Sat, 03 Sep 2011)

Path: dune-common URL: https://svn.dune-project.org/svn/dune-common/trunk Repository Root: https://svn.dune-project.org/svn/dune-common Repository UUID: 419231ca-4411-0410-aba2-fc6cf8c4f609 Revision: 6491 Node Kind: directory Schedule: normal Last Changed Author: sander Last Changed Rev: 6491 Last Changed Date: 2011-08-30 10:56:22 +0200 (Tue, 30 Aug 2011)

Tobias Malkmus

Attachments