Fix deprecated anonymous enum-enum conversion warnings

This commit is contained in:
Tyler Veness
2024-03-01 15:37:44 -08:00
committed by Antonio Sánchez
parent 55dd487478
commit 5ffb307afa
4 changed files with 6 additions and 5 deletions

View File

@@ -484,7 +484,7 @@ struct nested_eval {
// solution could be to count the number of temps?
NAsInteger = n == Dynamic ? HugeCost : n,
CostEval = (NAsInteger + 1) * ScalarReadCost + CoeffReadCost,
CostNoEval = NAsInteger * CoeffReadCost,
CostNoEval = int(NAsInteger) * int(CoeffReadCost),
Evaluate = (int(evaluator<T>::Flags) & EvalBeforeNestingBit) || (int(CostEval) < int(CostNoEval))
};