Permalink
Browse files

That didn't make any difference whatsoever.

  • Loading branch information...
1 parent b9c2409 commit e8a8b9630c2b454b72dfc38d1aa43b2b56befced @arthurschreiber committed Apr 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 ruby/lib/version_space.rb
@@ -52,7 +52,7 @@ def negative_example(example)
specialize(g, example, @s.first).each do |new_g|
next if more_general?(new_g, example)
- if @positive_examples.all? { |pe| more_general?(new_g, pe) } && !@g.any? { |other_g| g != other_g && (new_g & other_g) != [:*] && more_general?(other_g, new_g) }
+ if @positive_examples.all? { |pe| more_general?(new_g, pe) } && !@g.any? { |other_g| g != other_g && more_general?(other_g, new_g) }
acc << new_g
end
end

0 comments on commit e8a8b96

Please sign in to comment.