Skip to content

Commit

Permalink
expander seems to be immutable
Browse files Browse the repository at this point in the history
  • Loading branch information
Darrick Wiebe committed Nov 13, 2013
1 parent fb7f593 commit b9be066
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/pacer-neo4j/algo.rb
Expand Up @@ -358,13 +358,13 @@ def build_expander
else
e = Traversal.emptyExpander
[*out_labels].each do |label|
e.add DynamicRelationshipType.withName(label.to_s), Direction::OUTGOING
e = e.add DynamicRelationshipType.withName(label.to_s), Direction::OUTGOING
end
[*in_labels].each do |label|
e.add DynamicRelationshipType.withName(label.to_s), Direction::INCOMING
e = e.add DynamicRelationshipType.withName(label.to_s), Direction::INCOMING
end
[*both_labels].each do |label|
e.add DynamicRelationshipType.withName(label.to_s), Direction::BOTH
e = e.add DynamicRelationshipType.withName(label.to_s), Direction::BOTH
end
e
end
Expand Down

0 comments on commit b9be066

Please sign in to comment.