[chronojump] InterpolateSignal can be sent toFile again



commit d0e30c192b42c94d0570ae7f464f81ec21a74274
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed May 26 09:48:24 2021 +0200

    InterpolateSignal can be sent toFile again

 src/utilMath.cs | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/src/utilMath.cs b/src/utilMath.cs
index feddccb46..dbfbbf82a 100644
--- a/src/utilMath.cs
+++ b/src/utilMath.cs
@@ -504,20 +504,19 @@ public class InterpolateSignal
                InterpolateSignal fsp = new InterpolateSignal(l);
 
                //cosine
-               fsp.testCosineCubicInterpolateDo(types.COSINE, false);
+               fsp.testCosineCubicInterpolateDo(types.COSINE);
 
                //cubic
-               //List<PointF> interpolated_l = fsp.testCosineCubicInterpolateDo(types.CUBIC, false);
-               //toFile(interpolated_l, types.CUBIC);
-               fsp.testCosineCubicInterpolateDo(types.CUBIC, false);
+               List<PointF> interpolated_l = fsp.testCosineCubicInterpolateDo(types.CUBIC);
+               //fsp.toFile(interpolated_l, types.CUBIC);
        }
 
        public List<PointF> GetCubicInterpolated()
        {
-               return testCosineCubicInterpolateDo(types.CUBIC, false);
+               return testCosineCubicInterpolateDo(types.CUBIC);
        }
 
-       private List<PointF> testCosineCubicInterpolateDo(types type, bool toFile)
+       private List<PointF> testCosineCubicInterpolateDo(types type)
        {
                List<PointF> interpolated_l = new List<PointF>();
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]