Skip to content

Commit

Permalink
Bugfix: GetDimension[] should return correct result for bar and conj
Browse files Browse the repository at this point in the history
heads
  • Loading branch information
Alexander Voigt authored and Alexander Voigt committed Mar 11, 2017
1 parent 67cce69 commit 4a25cc0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions meta/TreeMasses.m
Expand Up @@ -478,6 +478,9 @@
GetDimension[sym_List, states_:FlexibleSUSY`FSEigenstates] :=
Plus @@ (GetDimension[#, states]& /@ sym);

GetDimension[(SARAH`bar|Susyno`LieGroups`conj)[sym_], states_:FlexibleSUSY`FSEigenstates] :=
GetDimension[sym, states];

GetDimension[sym_[__], states_:FlexibleSUSY`FSEigenstates] := GetDimension[sym, states];

GetDimension[sym_Symbol, states_:FlexibleSUSY`FSEigenstates] :=
Expand Down

0 comments on commit 4a25cc0

Please sign in to comment.