summaryrefslogtreecommitdiffstats
path: root/src/2geom/numeric/fitting-model.h
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2015-04-27 23:39:29 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2015-04-27 23:39:29 +0000
commitc883d7627a479c8c5b6a9f77b9841fa5631572ad (patch)
treefba1186e26a8cc85a1b0728425bef6f2e9aeccd9 /src/2geom/numeric/fitting-model.h
parentextensions. ink2canvas.py - do not parse html comments. (Bug 1446204) (diff)
downloadinkscape-c883d7627a479c8c5b6a9f77b9841fa5631572ad.tar.gz
inkscape-c883d7627a479c8c5b6a9f77b9841fa5631572ad.zip
2Geom sync - initial commit
(bzr r14059.2.1)
Diffstat (limited to 'src/2geom/numeric/fitting-model.h')
-rw-r--r--src/2geom/numeric/fitting-model.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/2geom/numeric/fitting-model.h b/src/2geom/numeric/fitting-model.h
index a44c1ddac..5cc6dde7a 100644
--- a/src/2geom/numeric/fitting-model.h
+++ b/src/2geom/numeric/fitting-model.h
@@ -298,7 +298,7 @@ class LFMEllipse
public:
void instance(Ellipse & e, ConstVectorView const& coeff) const
{
- e.set(1, coeff[0], coeff[1], coeff[2], coeff[3], coeff[4]);
+ e.setCoefficients(1, coeff[0], coeff[1], coeff[2], coeff[3], coeff[4]);
}
};
@@ -333,7 +333,7 @@ class LFMCircle
public:
void instance(Circle & c, ConstVectorView const& coeff) const
{
- c.set(1, coeff[0], coeff[1], coeff[2]);
+ c.setCoefficients(1, coeff[0], coeff[1], coeff[2]);
}
};