Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

That didn't make any difference whatsoever.

  • Loading branch information...
commit e8a8b9630c2b454b72dfc38d1aa43b2b56befced 1 parent b9c2409
Arthur Schreiber authored April 12, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  ruby/lib/version_space.rb
2  ruby/lib/version_space.rb
@@ -52,7 +52,7 @@ def negative_example(example)
52 52
         specialize(g, example, @s.first).each do |new_g|
53 53
           next if more_general?(new_g, example)
54 54
           
55  
-          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) }
  55
+          if @positive_examples.all? { |pe| more_general?(new_g, pe) } && !@g.any? { |other_g| g != other_g && more_general?(other_g, new_g) }
56 56
             acc << new_g
57 57
           end
58 58
         end

0 notes on commit e8a8b96

Please sign in to comment.
Something went wrong with that request. Please try again.