Product graphs working initially
[graph.njae.git] / lib / graph.njae / vertex.rb
index 6b34351740c04c0754a5e431f1ea38bd7773a0a0..aeabe30559be5f1f0a4cf1acf19a7607ff6a1249 100644 (file)
@@ -17,8 +17,8 @@ module GraphNjae
     def connect(other)
       e = Edge.new
       e << self << other
-      self.edges << e
-      other.edges << e unless self === other
+      self.edges << e
+      other.edges << e unless self === other
       e
     end