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

#290 - Fix slowdown in LinearMap #291

Merged
merged 3 commits into from
Mar 13, 2018
Merged

#290 - Fix slowdown in LinearMap #291

merged 3 commits into from
Mar 13, 2018

Conversation

schillic
Copy link
Member

Closes #290.

@mforets
Copy link
Member

mforets commented Mar 13, 2018

Would you mind adding to unit_overapproximate.jl the one disussed in the thread:

function overapproximate_lmap(n)
  B = BallInf(ones(n), 2.)
  π = sparse([1, 2], [1, 2], ones(2), 2, n)
  return Approximations.overapproximate*B)
end
o = overapproximate_lmap(50)
@tes o.center == [1., 1] && o.radius == [2., 2]

@schillic schillic merged commit 8f763eb into master Mar 13, 2018
@schillic schillic deleted the schillic/290 branch March 13, 2018 15:02
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