Skip to content

Commit

Permalink
Add function to check for extra parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylan Harries committed Dec 7, 2016
1 parent 8e66431 commit a5afded
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions meta/Parameters.m
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,8 @@
IsOutputParameter[lst_List] := And @@ (IsOutputParameter /@ lst);
IsOutputParameter[sym_] := MemberQ[GetOutputParameters[],sym];

IsExtraParameter[parameter_] := MemberQ[GetExtraParameters[], parameter];

IsRealParameter[Re[sym_]] := True;
IsRealParameter[Im[sym_]] := True;
IsRealParameter[FlexibleSUSY`M[_]] := True;
Expand Down

0 comments on commit a5afded

Please sign in to comment.