Skip to content

Commit

Permalink
CSpline can be a newtype
Browse files Browse the repository at this point in the history
  • Loading branch information
mokus0 committed Mar 9, 2012
1 parent 6460e22 commit e83003a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Math/Spline/Hermite.hs
Expand Up @@ -19,7 +19,7 @@ import Data.VectorSpace

-- | Cubic Hermite splines. These are cubic splines defined by a
-- sequence of control points and derivatives at those points.
data CSpline a = CSpline [(Scalar a,a,a)]
newtype CSpline a = CSpline [(Scalar a,a,a)]

-- | Cubic splines specified by a list of control points,
-- where each control point is given by a triple of parameter value,
Expand Down

0 comments on commit e83003a

Please sign in to comment.