[Flexiblesusy-commits] [FlexibleSUSY/FlexibleSUSY] fd37f0: return const& where possible (but not for express...

GitHub noreply at github.com
Tue Mar 20 15:01:37 GMT 2018


  Branch: refs/heads/feature-tachyons
  Home:   https://github.com/FlexibleSUSY/FlexibleSUSY
  Commit: fd37f05a0c72e5eaea99b335440c468fc78e5951
      https://github.com/FlexibleSUSY/FlexibleSUSY/commit/fd37f05a0c72e5eaea99b335440c468fc78e5951
  Author: Alexander Voigt <Alexander.Voigt at physik.rwth-aachen.de>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M meta/CConversion.m

  Log Message:
  -----------
  return const& where  possible (but not for expressions)

Note: This fixes a bug triggered by
test_CMSSM_effective_couplings.cpp:

When model.get_UM() returns an Eigen::Matrix<>, then the matrix U
defined by

   const auto U = (model.get_UM()).conjugate();

is wrong.  However, when model.get_UM() returns a const
Eigen::Matrix<>&, then the U defined above is correct.




More information about the Flexiblesusy-commits mailing list