casadi-bindings 2.4.1.6 → 2.4.1.7
raw patch · 2 files changed
+3/−8 lines, 2 filesdep +spatial-math
Dependencies added: spatial-math
Files
- casadi-bindings.cabal +2/−1
- src/Casadi/Overloading.hs +1/−7
casadi-bindings.cabal view
@@ -1,5 +1,5 @@ name: casadi-bindings-version: 2.4.1.6+version: 2.4.1.7 synopsis: mid-level bindings to CasADi category: Numerical, Math description:@@ -57,6 +57,7 @@ other-modules: Casadi.SharedObject build-depends: base >=4.6 && <5, linear,+ spatial-math >= 0.2.6.0, vector, containers, cereal,
src/Casadi/Overloading.hs view
@@ -10,6 +10,7 @@ ) where import Data.Fixed ( mod' )+import SpatialMath ( ArcTan2(..) ) -- | doesn't require Real, used for overloading symbolics class Fmod a where@@ -17,13 +18,6 @@ instance Fmod Double where fmod = mod' instance Fmod Float where fmod = mod'---- | doesn't require RealFloat, used for overloading symbolics-class ArcTan2 a where- arctan2 :: a -> a -> a--instance ArcTan2 Double where arctan2 = atan2-instance ArcTan2 Float where arctan2 = atan2 -- | error function class Erf a where