Browse files

Require dimensional-0.12 (_0).

  • Loading branch information...
1 parent 63482a0 commit f1f045fd2fc3e4d541c876d828a6b902354ee895 @bjornbm committed Jun 20, 2013
Showing with 3 additions and 3 deletions.
  1. +1 −1 Numeric/Units/Dimensional/LinearAlgebra/VectorAD.hs
  2. +2 −2 dimensional-experimental.cabal
View
2 Numeric/Units/Dimensional/LinearAlgebra/VectorAD.hs
@@ -54,7 +54,7 @@ applyLinear :: forall a t ds ds' ds2 ds2' ts. (
) => (forall tag. Mode tag => Vec ds (AD tag a) -> Vec ds2 (AD tag a)) -> (Vec ds a, Vec ds' a) -> (Vec ds2 a, Vec ds2' a)
applyLinear f (p,v) = diffV' (\t -> f (lift p `elemAdd` scaleVec t (lift v))) t_0
where
- t_0 = Dimensional 0 :: Quantity t a
+ t_0 = _0 :: Quantity t a
-- 'applyLinearAt is analogous to 'applyLinear' but should be used when
-- the function is also dependent on the variable w r t which the vector
View
4 dimensional-experimental.cabal
@@ -2,7 +2,7 @@ Name: dimensional-experimental
Version: 0.5
License: BSD3
License-File: LICENSE
-Copyright: Bjorn Buckwalter 2008-2011
+Copyright: Bjorn Buckwalter 2008-2013
Author: Bjorn Buckwalter
Maintainer: bjorn.buckwalter@gmail.com
Stability: experimental
@@ -24,7 +24,7 @@ Build-Depends:
base,
time,
dimensional,
- dimensional-vectors >= 0.9,
+ dimensional-vectors >= 0.12,
numtype,
HList >= 0.2.1,
numeric-quest,

0 comments on commit f1f045f

Please sign in to comment.