Skip to content

Commit

Permalink
Cast beta function to target type
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Voigt committed Mar 25, 2015
1 parent 25aba8d commit edac621
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions meta/BetaFunction.m
Expand Up @@ -128,6 +128,7 @@
beta = CConversion`CreateZero[type];
];
betaStr = RValueToCFormString[beta];
betaStr = CastTo[betaStr, type];
betaStr = betaName <> " = " <> betaStr <> ";\n";
localDecl = Parameters`CreateLocalConstRefsForInputParameters[expr] <>
localDecl;
Expand Down

0 comments on commit edac621

Please sign in to comment.