lib/sparql/algebra/operator/minus.rb in sparql-3.2.4 vs lib/sparql/algebra/operator/minus.rb in sparql-3.2.5

- old
+ new

@@ -69,12 +69,12 @@ # # Minus(Ω1, Ω2) = { μ | μ in Ω1 . ∀ μ' in Ω2, either μ and μ' are not compatible or dom(μ) and dom(μ') are disjoint } # # card[Minus(Ω1, Ω2)](μ) = card[Ω1](μ) debug(options) {"Minus"} - left = queryable.query(operand(0), depth: options[:depth].to_i + 1, **options) + left = queryable.query(operand(0), **options.merge(depth: options[:depth].to_i + 1)) debug(options) {"(minus left) #{left.inspect}"} - right = queryable.query(operand(1), depth: options[:depth].to_i + 1, **options) + right = queryable.query(operand(1), **options.merge(depth: options[:depth].to_i + 1)) debug(options) {"(minus right) #{right.inspect}"} @solutions = left.minus(right) @solutions.each(&block) if block_given? @solutions end