Skip to content
Snippets Groups Projects

Improve matrix testing

Merged Oliver Sander requested to merge improve-matrix-testing into master
1 unresolved thread

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
330 });
331 });
332 }
333
334
335 //===== norms
336
337 //! square of frobenius norm, need for block recursion
338 auto frobenius_norm2 () const
339 {
340 using field_type = typename std::decay_t<decltype((*this)[Indices::_0][Indices::_0])>::field_type;
341 typename FieldTraits<field_type>::real_type sum=0;
342
343 auto rows = index_constant<N()>();
344 Hybrid::forEach(Hybrid::integralRange(rows), [&](auto&& i) {
345 auto cols = index_constant<this->M()>();
  • added 1 commit

    • 1cb8f9d6 - [bigfix] make sure `M()` yields a compile time size

    Compare with previous version

  • I quickly updated the branch myself.

  • Thanks. Strangely enough, my local g++-6 did accept it...

  • Apparently g++-6 was a bit relaxed on this issue. My local clang was more strict and net g++ version seem to had failed totally, as the pipeline reported an ICE.

  • merged

  • Oliver Sander mentioned in commit 24688469

    mentioned in commit 24688469

  • Please register or sign in to reply
    Loading