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

Fix aggregate loss curve computation #1151

Merged
merged 2 commits into from Apr 22, 2013
Merged

Fix aggregate loss curve computation #1151

merged 2 commits into from Apr 22, 2013

Conversation

matley
Copy link
Contributor

@matley matley commented Apr 22, 2013

set([(asset.site.x, asset.site.y)
for asset in assets])))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need the list; just do sorted(set((asset.site.x, asset.site.y) for asset in assets)))

@micheles
Copy link
Contributor

LGTM

matley added a commit that referenced this pull request Apr 22, 2013
Fix aggregate loss curve computation
@matley matley merged commit 65baf80 into gem:master Apr 22, 2013
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.

None yet

2 participants