Skip to content

AST-1247 Use std::array as argument in ResizeData/Weights/Flags

Maik Nijhuis requested to merge ast-1247-dpbuffer-shape into master

Rationale:

  • Using a std::array<std::size_t, 3> simplifies reusing existing shape objects. Unpacking the shape is no longer needed.
  • When using ResizeData, ResizeFlags and/or ResizeFlags together you can pass the same shape object. Duplicate argument lists are no longer needed, which also avoids errors.
  • Use n_baselines, n_channels and n_correlations as arguments is still possible using { and } around the arguments.
Edited by Maik Nijhuis

Merge request reports

Loading