lib/sparql/algebra/operator/notexists.rb in sparql-1.1.1 vs lib/sparql/algebra/operator/notexists.rb in sparql-1.1.2

- old
+ new

@@ -26,10 +26,10 @@ # options passed from query # @option options[RDF::Queryable] queryable # queryable to execute, using bindings as an initial solution. # @return [RDF::Literal::Boolean] `true` or `false` def evaluate(bindings, options = {}) - solutions = RDF::Query::Solutions.new << bindings + solutions = RDF::Query::Solutions(bindings) queryable = options[:queryable] operand(0).execute(queryable, options.merge(:solutions => solutions)).empty? end end # NotExists end # Operator