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

avoid a compiler warning

[[Imported from SVN: r1586]]
parent 143e93ad
No related branches found
No related tags found
No related merge requests found
......@@ -20,10 +20,10 @@ namespace Dune {
{
public:
OneDEntityImp(int level, double pos) : level_(level), pos_(pos), pred_(NULL), succ_(NULL)
OneDEntityImp(int level, double pos) : pos_(pos), level_(level), pred_(NULL), succ_(NULL)
{}
OneDEntityImp(int level, const FieldVector<double, 1>& pos) : level_(level), pos_(pos), pred_(NULL), succ_(NULL)
OneDEntityImp(int level, const FieldVector<double, 1>& pos) : pos_(pos), level_(level), pred_(NULL), succ_(NULL)
{}
//private:
......@@ -272,8 +272,6 @@ namespace Dune {
int subIndex (int i) const {
assert(i==0 || i==1);
assert(cc==0 || cc==1);
// DUNE_THROW(NotImplemented, "subIndex");
// return 0;
return entity<cc>(i)->index();
}
......
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