Skip to content

Fix template deduction for 1d arrays in structuredgridfactory

Simon Praetorius requested to merge issue/alberta-structuredgridfactory into master

Summary

In the StructuredGridFactory specialization for AlbertaGrid in 1d, the template argument deduction for arrays with a single element failed, since it is detected as a copy-constructor instead of an initializer-list. This is fixed by explicitly naming the types of the array.

Merge request reports

Loading