Skip to content

Commit

Permalink
simplify functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Voigt authored and Alexander Voigt committed Jul 27, 2016
1 parent 6496f7a commit 4639593
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions meta/WriteOut.m
Expand Up @@ -564,19 +564,17 @@
WriteSLHABlock[{blockName, parameter}, scale];

WriteSLHAModelParametersBlocks[] :=
Module[{result = "", modelParameters, blocks},
Module[{modelParameters, blocks},
modelParameters = GetSLHAModelParameters[];
blocks = SortBlocks[modelParameters];
(result = result <> WriteSLHABlock[#])& /@ blocks;
Return[result];
StringJoin[WriteSLHABlock /@ blocks]
];

WriteSLHAPhasesBlocks[] :=
Module[{result = "", phases, blocks},
Module[{phases, blocks},
phases = GetSLHAPhases[];
blocks = SortBlocks[phases];
(result = result <> WriteSLHABlock[#])& /@ blocks;
Return[result]
StringJoin[WriteSLHABlock /@ blocks]
];

GetExtraSLHAOutputBlockScale[scale_ /; scale === FlexibleSUSY`NoScale] := "";
Expand Down

0 comments on commit 4639593

Please sign in to comment.