Skip to content
Snippets Groups Projects
Commit ecbbb5b0 authored by Christian Engwer's avatar Christian Engwer
Browse files

use operator[] to access the value inside

FieldVector<OneDCType, 1> pos_;

[[Imported from SVN: r1204]]
parent 35a0ae52
No related branches found
No related tags found
No related merge requests found
......@@ -147,7 +147,7 @@ namespace Dune {
//! Returns true if the point is in the current element
bool checkInside(const FieldVector<OneDCType, dimworld> &global) {
return vertex[0]->geometry().pos_ <= global[0] && global[0] <= vertex[1]->geometry().pos_;
return vertex[0]->geometry().pos_[0] <= global[0] && global[0] <= vertex[1]->geometry().pos_[0];
}
/** ???
......
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