lib/sparql/algebra/operator/asc.rb in sparql-3.2.4 vs lib/sparql/algebra/operator/asc.rb in sparql-3.2.5
- old
+ new
@@ -31,10 +31,10 @@
# a query solution containing zero or more variable bindings
# @param [Hash{Symbol => Object}] options ({})
# options passed from query
# @return [RDF::Term]
def evaluate(bindings, **options)
- operand(0).evaluate(bindings, depth: options[:depth].to_i + 1, **options)
+ operand(0).evaluate(bindings, **options.merge(depth: options[:depth].to_i + 1))
end
##
#
# Returns a partial SPARQL grammar for this operator.