Improve matrix testing
1 unresolved thread
1 unresolved thread
Merge request reports
Activity
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()>(); changed this line in version 3 of the diff
added 1 commit
- 1cb8f9d6 - [bigfix] make sure `M()` yields a compile time size
mentioned in commit 24688469
Please register or sign in to reply