Skip to content

Commit

Permalink
avoid partw warnings when only one vev exists
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Voigt committed Nov 4, 2014
1 parent 7197b31 commit 18a733c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions meta/FlexibleSUSY.m
Expand Up @@ -465,6 +465,9 @@
vev, dimVev},
vevs = Cases[SARAH`DEFINITION[FlexibleSUSY`FSEigenstates][SARAH`VEVs],
{_,{v_,_},{s_,_},{p_,_},___} :> {v,s,p}];
If[Length[vevs] == 1,
Return[{{SARAH`HiggsBoson, 1}}];
];
(* list of phi fields, ordered according to VEVs / EWSB eqs. *)
phi = Transpose[vevs][[3]];
phi = ExpandGaugeIndices[phi];
Expand Down

0 comments on commit 18a733c

Please sign in to comment.