Skip to content

Commit

Permalink
Fixed NullPointerException when a categorical vertex was selected
Browse files Browse the repository at this point in the history
  • Loading branch information
febo committed Feb 6, 2016
1 parent 680fa64 commit e1ecf31
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public static Rule create(final int level,
}

Vertex vertex = graph.vertices()[selected];
Condition condition = null;
Condition condition = vertex.condition;

if (vertex.condition == null) {
// continuous vertices do not have a condition,
Expand Down

0 comments on commit e1ecf31

Please sign in to comment.