mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix deprecated anonymous enum-enum conversion warnings
This commit is contained in:
committed by
Antonio Sánchez
parent
55dd487478
commit
5ffb307afa
@@ -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))
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user