Code

Merge from fe-moved
[inkscape.git] / src / 2geom / sbasis-2d.cpp
index 9566e0a198fb5f5b153821ff73b60441c581f1c8..e3a407094c769a55c0afa223f3fa8c649ca83838 100644 (file)
@@ -173,7 +173,7 @@ sb2d_cubic_solve(SBasis2d const &f, Geom::Point const &A, Geom::Point const &B){
     double error = -1;
     unsigned best = 0;
     for (unsigned i=0; i<candidates.size(); i++){
-        Interval bounds = bounds_fast(compose(f,candidates[i]));
+        Interval bounds = *bounds_fast(compose(f,candidates[i]));
         double new_error = (fabs(bounds.max())>fabs(bounds.min()) ? fabs(bounds.max()) : fabs(bounds.min()) );
         if ( new_error < error || error < 0 ){
             error = new_error;