Github user PBGraff commented on a diff in the pull request: https://github.com/apache/tinkerpop/pull/772#discussion_r161387755 --- Diff: gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/computer/clustering/peerpressure/PeerPressureVertexProgram.java --- @@ -81,7 +81,11 @@ private PeerPressureVertexProgram() { } @Override - public void loadState(final Graph graph, final Configuration configuration) { + public void loadState(final Configuration configuration, final Graph... graphs) { + if (graphs.length != 1) { + throw new IllegalStateException("Must provide one graph to use, received " + graphs.length); + } + Graph graph = graphs[0]; --- End diff -- Done.
---