mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-23 01:59:38 +08:00
merge
This commit is contained in:
commit
bde98df03f
@ -56,7 +56,7 @@ T poly_eval( const Polynomials& poly, const T& x )
|
|||||||
for( DenseIndex i=1; i<poly.size(); ++i ){
|
for( DenseIndex i=1; i<poly.size(); ++i ){
|
||||||
val = val*inv_x + poly[i]; }
|
val = val*inv_x + poly[i]; }
|
||||||
|
|
||||||
return std::pow(x,(T)(poly.size()-1)) * val;
|
return numext::pow(x,(T)(poly.size()-1)) * val;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user