From 9ca93bf327793b39fd9d4f7bdd4d518a224e476e Mon Sep 17 00:00:00 2001
From: Steve Tonneau <stonneau@laas.fr>
Date: Wed, 12 Apr 2017 11:14:30 +0200
Subject: [PATCH] comment on probable removal of bernstein evaluation

---
 include/spline/bezier_curve.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/spline/bezier_curve.h b/include/spline/bezier_curve.h
index e663c46..7cc6d3b 100644
--- a/include/spline/bezier_curve.h
+++ b/include/spline/bezier_curve.h
@@ -183,6 +183,8 @@ struct bezier_curve : public curve_abc<Time, Numeric, Dim, Safe, Point>
 
     ///
     /// \brief Evaluates all Bernstein polynomes for a certain degree
+    /// Warning: the horner scheme is about 100 times faster than this method.
+    /// This method will probably be removed in the future
     ///
     point_t evalBernstein(const Numeric u) const
     {
-- 
GitLab