From b44b44d9a64b74a10a787dba8ef430a143b20cec Mon Sep 17 00:00:00 2001 From: "Zachary P. Christensen" Date: Wed, 29 Jul 2020 14:45:44 -0400 Subject: [PATCH] Fix missed import between modules --- Project.toml | 2 +- src/OffsetAxes/OffsetAxes.jl | 3 ++- test/OffsetAxes/OffsetAxes.jl | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 4074c27a..2c590f4e 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "AxisIndices" uuid = "f52c9ee2-1b1c-4fd8-8546-6350938c7f11" authors = ["Tokazama "] -version = "0.6" +version = "0.6.1" [deps] ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9" diff --git a/src/OffsetAxes/OffsetAxes.jl b/src/OffsetAxes/OffsetAxes.jl index b5431883..394e24a8 100644 --- a/src/OffsetAxes/OffsetAxes.jl +++ b/src/OffsetAxes/OffsetAxes.jl @@ -15,7 +15,8 @@ using AxisIndices.Styles using AxisIndices.Interface using AxisIndices.Interface: unsafe_reconstruct, check_axis_length, maybe_tail, naxes, check_axis_length using AxisIndices.Interface: append_axis! -using AxisIndices.Interface: to_axis, to_axes, to_index +using AxisIndices.Interface: to_axis, to_axes, to_index, assign_indices + using AxisIndices.Axes diff --git a/test/OffsetAxes/OffsetAxes.jl b/test/OffsetAxes/OffsetAxes.jl index c855ed9c..e5ab0311 100644 --- a/test/OffsetAxes/OffsetAxes.jl +++ b/test/OffsetAxes/OffsetAxes.jl @@ -2,3 +2,5 @@ include("OffsetAxis.jl") include("CenteredAxis.jl") include("IdentityAxis.jl") + +@test OffsetArray(OffsetArray(ones(2, 2))) isa OffsetArray \ No newline at end of file