mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
Fixed device build
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user