[Flexiblesusy-commits] [FlexibleSUSY/FlexibleSUSY] 035ffc: fix warning

GitHub noreply at github.com
Fri May 30 21:50:54 BST 2014

  Branch: refs/heads/development
  Home:   https://github.com/FlexibleSUSY/FlexibleSUSY
  Commit: 035ffc7d4ba1f86eaafd82ff4fa6183581c072e6
  Author: Expander <Hole.destructor at gmx.de>
  Date:   2014-05-30 (Fri, 30 May 2014)

  Changed paths:
    M meta/TreeMasses.m

  Log Message:
  fix warning

Since SARAH 4.2 the list SARAH`Masses[EWSB] contains elements of the
form `0 -> MassGiven[VG]' for vector bosons, for examples

  {0 -> MassGiven[VG],
   Mass[gG] -> MassGiven[gG],
   Mass[Glu] -> MassRead[Glu],
   Mass[Fv[1]] -> MassGiven[Fv[1]],
   ... }

For these elements GetHead[#[[1,1]]] produces an error, since `0' is
not a list.  This commit fixes the bug by filtering only elements out
which are of the form

   SARAH`Mass[p_] -> _

More information about the Flexiblesusy-commits mailing list