Skip to content

Commit

Permalink
Rename directories
Browse files Browse the repository at this point in the history
  • Loading branch information
eschnett committed Feb 12, 2018
1 parent 781537b commit bb97a9f
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 10 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
18 changes: 9 additions & 9 deletions package.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This YAML file describes your package. Stack will automatically generate a
# Cabal file when you run `stack build`. See the hpack website for help with
# this file: <https://github.com/sol/hpack>.
# This YAML file describes your package. Stack will automatically
# generate a Cabal file when you run `stack build`. See the hpack
# website for help with this file: <https://github.com/sol/hpack>.
name: wavetoy5
version: '0.0.0'
github: "eschnett/wavetoy5"
Expand All @@ -14,8 +14,8 @@ description: wavetoy5 is a Haskell WaveToy implementation.
extra-source-files:
- CHANGELOG.rst
- LICENSE.rst
- package.yaml
- README.rst
- package.yaml
- stack.yaml

ghc-options: -Wall
Expand All @@ -27,11 +27,11 @@ library:
# - math-functions
- quickcheck-instances
- vector
source-dirs: library
source-dirs: lib

executables:
wavetoy5:
source-dirs: executable
source-dirs: exe
main: Main.hs
dependencies:
- base
Expand All @@ -43,20 +43,20 @@ executables:

benchmarks:
wavetoy5-benchmarks:
source-dirs: benchmark
source-dirs: bench
main: Main.hs
dependencies:
- base
- wavetoy5
- criterion
- wavetoy5
ghc-options:
- -rtsopts
- -threaded
- -with-rtsopts=-N

tests:
wavetoy5-test-suite:
source-dirs: test-suite
source-dirs: test
main: Main.hs
dependencies:
- QuickCheck
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test-suite/ChebFunSpec.hs → test/ChebFunSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ prop_ChebFun_project (Fn f) x =
-- TODO: Use IEEE to avoid arbitrary constant
infix 4 ~~
(~~) :: (Fractional a, Ord a) => a -> a -> Bool
x ~~ y = abs (x - y) < 1.0e-13 * (1 `max` abs x `max` abs y)
x ~~ y = abs (x - y) < 1.0e-12 * (1 `max` abs x `max` abs y)

-- | Like '===', but allowing for round-off error
infix 4 ~~~
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit bb97a9f

Please sign in to comment.