Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#1165 - Use size of m for return type #1167

Merged
merged 1 commit into from
Feb 26, 2019
Merged

#1165 - Use size of m for return type #1167

merged 1 commit into from
Feb 26, 2019

Conversation

mforets
Copy link
Member

@mforets mforets commented Feb 26, 2019

Closes #1165.

@mforets
Copy link
Member Author

mforets commented Feb 26, 2019

This gives:

julia> using LazySets
[ Info: Recompiling stale cache file /Users/forets/.julia/compiled/v1.1/LazySets/NjrGc.ji for LazySets [b4f0291d-fe17-52bc-9479-3d1a343d9043]

julia> H, M = rand(Hyperrectangle, dim=2), rand(1, 2)
(Hyperrectangle{Float64}([0.392449, 2.20354], [0.242798, 0.00991168]), [0.613442 0.725116])

julia> MH = linear_map(M, H, use_inv=false)
Interval{Float64,IntervalArithmetic.Interval{Float64}}([1.68243, 1.9947])

julia> MH = linear_map(M, H)
Interval{Float64,IntervalArithmetic.Interval{Float64}}([1.68243, 1.9947])

@mforets mforets merged commit 0a684a6 into master Feb 26, 2019
@schillic schillic deleted the mforets/1165 branch February 26, 2019 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants