Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDanisch committed May 5, 2020
1 parent de7fff8 commit a901c5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouting/data_limits.jl
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ end

const NumOrArray = Union{AbstractArray, Number}

function xyz_boundingbox(transform_func, x::AbstractVector, y::AbstractVector, z::Number=0)
function xyz_boundingbox(transform_func, x::AbstractVector, y::AbstractVector, z::NumOrArray=0)
# use lazy variant of broadcast!
points = Base.broadcasted(Point3, x, y', z)
return xyz_boundingbox(transform_func, points)
Expand Down

0 comments on commit a901c5e

Please sign in to comment.