]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Compilation errors.
authorouv <ouv@opencascade.com>
Mon, 7 Oct 2013 07:26:32 +0000 (07:26 +0000)
committerouv <ouv@opencascade.com>
Mon, 7 Oct 2013 07:26:32 +0000 (07:26 +0000)
src/HYDROData/test_HYDROOperations_BSpline.cxx

index 871f7ca29d7756c7a273f1cdf97b7d590e9a7e4d..d889abb0d2395da3eb9c9e78362927e8589d8432 100644 (file)
@@ -12,7 +12,7 @@ void test_HYDROOperations_BSpline::testCurve()
   for(x = 0; x < 6.28; x += 0.1)
     aPoints<<x<<sin(x);
   // compute BSpline
-  HYDROOperations_BSpline aBSpline(aPoints, false);
+  HYDROOperations_BSpline aBSpline(aPoints, 0, false);
   Handle(Geom_BSplineCurve) aBS = aBSpline.Curve();
   CPPUNIT_ASSERT(!aBS.IsNull());
   CPPUNIT_ASSERT(!aBS->IsClosed());
@@ -35,7 +35,7 @@ void test_HYDROOperations_BSpline::testPath()
   for(x = 0; x < 6.28; x += 0.1)
     aPoints<<x*aScale<<sin(x) * aScale;
   // convert to QPainterPath
-  HYDROOperations_BSpline aBSpline(aPoints, false);
+  HYDROOperations_BSpline aBSpline(aPoints, 0, false);
   CPPUNIT_ASSERT(!aBSpline.Curve().IsNull());
   QPainterPath aPath = aBSpline.ComputePath();
   CPPUNIT_ASSERT(!aPath.isEmpty());