Skip to content

Commit

Permalink
Bump requirements, update .travis.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajkeller34 committed Mar 26, 2017
1 parent 06658fc commit f249d5a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ os:
- linux
- osx
julia:
- release
- 0.5
- 0.6
- nightly
notifications:
email: false
Expand Down
4 changes: 2 additions & 2 deletions REQUIRE
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
julia 0.5
Unitful
QuadGK
Unitful 0.1.5
QuadGK 0.1.1
4 changes: 2 additions & 2 deletions src/UnitfulIntegration.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import QuadGK

function QuadGK.quadgk(f, a::Quantity, b::Quantity, c::Quantity...; kws...)
d = dimension(a)
d != dimension(b) && throw(DimensionError())
d != dimension(b) && throw(DimensionError(a,b))
for x in c
d != dimension(x) && throw(DimensionError())
d != dimension(x) && throw(DimensionError(a,x))
end
QuadGK.quadgk(f, promote(a,b,c...)...; kws...)
end
Expand Down

0 comments on commit f249d5a

Please sign in to comment.