Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 2 commits
  • 2 files changed
  • 0 comments
  • 1 contributor
4  Numeric/Units/Dimensional/Formulae.hs
@@ -76,8 +76,8 @@ wiensDisplacementLaw t = b / t where b = 2.8977721e-3 *~ (meter * kelvin)
76 76
                                -- Uncertainty:  26
77 77
 
78 78
 -- | Wien's displacement law in terms of frequency rather than wavelength.
79  
-wiensDisplacementLaw' :: Floating a => ThermodynamicTemperature a -> Length a
80  
-wiensDisplacementLaw' t = t * b' where b' = 5.8789254e10 (hertz / kelvin)
  79
+wiensDisplacementLaw' :: Floating a => ThermodynamicTemperature a -> Frequency a
  80
+wiensDisplacementLaw' t = t * b' where b' = 5.8789254e10 *~ (hertz / kelvin)
81 81
                                   -- Uncertainty:  53
82 82
 
83 83
 -- Planck's law TODO
18  dimensional-experimental.cabal
@@ -21,15 +21,15 @@ Category:            Math, Physics
21 21
 Build-Type:          Simple
22 22
 Build-Depends:
23 23
 
24  
-    base < 5, 
25  
-    time < 1.3,
26  
-    dimensional < 1.1,
27  
-    dimensional-vectors >= 0.9 && < 1.1,
28  
-    numtype < 1.1,
29  
-    HList >= 0.2.1 && < 0.3,
30  
-    numeric-quest < 0.2,
31  
-    ad >= 0.44.4 && < 1.1,
32  
-    ieee754 >= 0.7.3 && < 1.1
  24
+    base,
  25
+    time,
  26
+    dimensional,
  27
+    dimensional-vectors >= 0.9,
  28
+    numtype,
  29
+    HList >= 0.2.1,
  30
+    numeric-quest,
  31
+    ad >= 0.44.4,
  32
+    ieee754 >= 0.7.3
33 33
 
34 34
 Exposed-Modules:
35 35
 

No commit comments for this range

Something went wrong with that request. Please try again.