Fixed device build

This commit is contained in:
M4x1m3
2021-03-15 21:05:52 +01:00
parent ed86abebde
commit 9c8112658e
2 changed files with 4 additions and 6 deletions

View File

@@ -34,7 +34,10 @@ private:
// Evaluation
Evaluation<float> approximate(SinglePrecision p, ApproximationContext approximationContext) const override { return templatedApproximate<float>(approximationContext); }
Evaluation<double> approximate(DoublePrecision p, ApproximationContext approximationContext) const override { return templatedApproximate<double>(approximationContext); }
template<typename T> Evaluation<T> templatedApproximate(ApproximationContext approximationContext) const;
template<typename T>
Evaluation<T> templatedApproximate(ApproximationContext approximationContext) const {
return Complex<T>::Undefined();
}
};
class KMat final : public Expression {

View File

@@ -30,11 +30,6 @@ Expression KMatNode::shallowReduce(ExpressionNode::ReductionContext reductionCon
return KMat(this).shallowReduce(reductionContext);
}
template<typename T>
Evaluation<T> KMatNode::templatedApproximate(ApproximationContext approximationContext) const {
return Complex<T>::Undefined();
}
Expression KMat::shallowReduce(ExpressionNode::ReductionContext reductionContext) {
Expression c0 = childAtIndex(0);
Expression c1 = childAtIndex(1);