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

grid_ is a pointer and was used as like a reference

[[Imported from SVN: r3322]]
parent b3c368b1
No related branches found
No related tags found
No related merge requests found
...@@ -121,14 +121,14 @@ namespace Dune { ...@@ -121,14 +121,14 @@ namespace Dune {
template<int cd, PartitionIteratorType pitype> template<int cd, PartitionIteratorType pitype>
typename Base::template Codim<cd>::template Partition<pitype>::Iterator begin () const typename Base::template Codim<cd>::template Partition<pitype>::Iterator begin () const
{ {
return grid_.template lbegin<cd,pitype>(level_); return grid_->template lbegin<cd,pitype>(level_);
} }
//! Iterator to one past the last entity of given codim on level for partition type //! Iterator to one past the last entity of given codim on level for partition type
template<int cd, PartitionIteratorType pitype> template<int cd, PartitionIteratorType pitype>
typename Base::template Codim<cd>::template Partition<pitype>::Iterator end () const typename Base::template Codim<cd>::template Partition<pitype>::Iterator end () const
{ {
return grid_.template lend<cd,pitype>(level_); return grid_->template lend<cd,pitype>(level_);
} }
//private: //private:
......
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