From 9cdaa736eb55a494ae8f243a8fda90fffc835e0d Mon Sep 17 00:00:00 2001 From: David Rose Date: Fri, 9 Feb 2001 02:01:39 +0000 Subject: [PATCH] *** empty log message *** --- panda/src/parametrics/curveFitter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/parametrics/curveFitter.cxx b/panda/src/parametrics/curveFitter.cxx index a41e430b98..62724bfea6 100644 --- a/panda/src/parametrics/curveFitter.cxx +++ b/panda/src/parametrics/curveFitter.cxx @@ -169,7 +169,7 @@ sample(ParametricCurve *curve, int count, bool even) { } if (even) { - double scale = max_t / last_t; + double scale = max_t / d; while (n < _data.size()) { _data[n]._t *= scale; n++;