Bug 799638 - error: call to non-'constexpr' function

Recurrences aren't instantiated at compile time so there's no benefit
to making periods_per_year constexpr.
pull/2114/head
John Ralls 7 months ago
parent 2b0c90304e
commit d0e7b83d36

@ -2393,7 +2393,7 @@ std::string to_str_with_prec (const gdouble val)
#endif
}
static constexpr std::tuple<double, double>
static std::tuple<double, double>
periods_per_year( LoanAssistantData *ldd)
{
double ppy = 0.0, periods = 1.0;

Loading…
Cancel
Save