diff options
author | Sidharth Kapur <sidharthkapur1@gmail.com> | 2016-01-27 16:52:51 -0600 |
---|---|---|
committer | Sidharth Kapur <sidharthkapur1@gmail.com> | 2016-01-27 16:52:51 -0600 |
commit | 85703cc308e6de7f60945661db11f5d828bf096f (patch) | |
tree | 207b9f4a96f74ebbf6003cbf4f739ae60476bfdd /packages/base/src/Numeric/LinearAlgebra | |
parent | ef9b4f76fa3a8dccfc08c8c87799945cef98ba54 (diff) |
Minor change
Diffstat (limited to 'packages/base/src/Numeric/LinearAlgebra')
-rw-r--r-- | packages/base/src/Numeric/LinearAlgebra/Static.hs | 5 |
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 | ||
803 | instance KnownNat n => Fractional (Sym n) | 803 | instance 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 | ||
808 | instance KnownNat n => Floating (Sym n) where | 808 | instance 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 |