[!384] Make reading weight of weighted accumulation views const.
Merge branch 'const-weight-getters' into 'master' ref:pdelab/dune-pdelab The weighted accumulation views of LocalVector and LocalMatrix used to set an internal _modified flag when *reading* the weight, making the weight() getter method non-const. This change skips setting the modified flag. If the underlying vector is indeed modified through the view, other non-const methods will be used to do so, and will mark the view as modified. See merge request [!384] [!384]: gitlab.dune-project.org/pdelab/dune-pdelab/merge_requests/384
Showing with 2 additions and 4 deletions