Skip to content
Snippets Groups Projects
Commit 298bd70c authored by Altekruse, Jason Morgan's avatar Altekruse, Jason Morgan
Browse files

Apply suggestion to src/main/java/gov/usgs/earthquake/nshmp/data/Sequences.java

parent 5e4cff37
No related branches found
No related tags found
1 merge request!93XySequence edits
......@@ -103,7 +103,7 @@ class Sequences {
.flatMap(XySequence::stream)
.collect(Collectors.toMap(
XyPoint::x,
(XyPoint xy) -> (double) xy.y(),
XyPoint::y,
Double::sum,
TreeMap::new));
return XySequence.create(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment