Skip to content
Snippets Groups Projects
Commit a5f1ad29 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

[fvectortest] Assert equality for size and dimension instead of

assignment.

[[Imported from SVN: r6802]]
parent c82a758b
No related branches found
No related tags found
No related merge requests found
......@@ -92,8 +92,8 @@ struct FieldVectorMainTest
assert(v == w);
// test container methods
typename FieldVector<ft,d>::size_type size DUNE_UNUSED = FieldVector<ft,d>::dimension;
size = w.size();
typename FieldVector<ft,d>::size_type size = FieldVector<ft,d>::dimension;
assert(size == w.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