summaryrefslogtreecommitdiff
path: root/packages/base/src/Numeric/LinearAlgebra
diff options
context:
space:
mode:
authorSidharth Kapur <sidharthkapur1@gmail.com>2016-01-27 16:52:51 -0600
committerSidharth Kapur <sidharthkapur1@gmail.com>2016-01-27 16:52:51 -0600
commit85703cc308e6de7f60945661db11f5d828bf096f (patch)
tree207b9f4a96f74ebbf6003cbf4f739ae60476bfdd /packages/base/src/Numeric/LinearAlgebra
parentef9b4f76fa3a8dccfc08c8c87799945cef98ba54 (diff)
Minor change
Diffstat (limited to 'packages/base/src/Numeric/LinearAlgebra')
-rw-r--r--packages/base/src/Numeric/LinearAlgebra/Static.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/base/src/Numeric/LinearAlgebra/Static.hs b/packages/base/src/Numeric/LinearAlgebra/Static.hs
index 84a623b..3e772b2 100644
--- a/packages/base/src/Numeric/LinearAlgebra/Static.hs
+++ b/packages/base/src/Numeric/LinearAlgebra/Static.hs
@@ -802,10 +802,11 @@ instance KnownNat n => Num (Sym n)
802 802
803instance KnownNat n => Fractional (Sym n) 803instance KnownNat n => Fractional (Sym n)
804 where 804 where
805 fromRational = Sym . L . Dim . Dim . fromRational 805 fromRational = Sym . fromRational
806 (/) = mkSym2 (/) 806 (/) = mkSym2 (/)
807 807
808instance KnownNat n => Floating (Sym n) where 808instance KnownNat n => Floating (Sym n)
809 where
809 sin = mkSym sin 810 sin = mkSym sin
810 cos = mkSym cos 811 cos = mkSym cos
811 tan = mkSym tan 812 tan = mkSym tan