Commit a7db0489 authored by Steffen Müthing's avatar Steffen Müthing

[!250] Fix VariableBlockVector's CreateIterator

Merge branch 'bugfix/fix-vbv-create-iterator' into 'master'

ref:core/dune-istl When the postfix increment operator is used, block sizes
will not be set properly, see [#56].

This implementation places the allocation into the destructor of the iterator.

It does not need additional structures.

This MR also fixes the test for interoperability with STL algorithms: As the
CreateIterator is only an output iterator, use std::fill_n() instead of
std::fill().

See [!249]. Fixes [#56].

See merge request [!250]

  [#56]: gitlab.dune-project.org/NoneNone/issues/56
  [!249]: gitlab.dune-project.org/NoneNone/merge_requests/249
  [!250]: gitlab.dune-project.org/core/dune-istl/merge_requests/250


Closes #56
parents 6b8033bd 142e570a
Pipeline #15004 failed with stage
in 11 minutes and 17 seconds