From f249d5a5ec4d317a8ecc5fab8b5d9e9fd90fbc40 Mon Sep 17 00:00:00 2001 From: Andrew Keller Date: Sun, 26 Mar 2017 15:10:46 -0700 Subject: [PATCH] Bump requirements, update .travis.yml. --- .travis.yml | 3 ++- REQUIRE | 4 ++-- src/UnitfulIntegration.jl | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1d31cc3..188f1c6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,8 @@ os: - linux - osx julia: - - release + - 0.5 + - 0.6 - nightly notifications: email: false diff --git a/REQUIRE b/REQUIRE index 072a69c..1924a34 100644 --- a/REQUIRE +++ b/REQUIRE @@ -1,3 +1,3 @@ julia 0.5 -Unitful -QuadGK +Unitful 0.1.5 +QuadGK 0.1.1 diff --git a/src/UnitfulIntegration.jl b/src/UnitfulIntegration.jl index 02d3634..8e034d9 100644 --- a/src/UnitfulIntegration.jl +++ b/src/UnitfulIntegration.jl @@ -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