lib/sparql/algebra/operator/max.rb in sparql-3.1.6 vs lib/sparql/algebra/operator/max.rb in sparql-3.1.7

- old
+ new

@@ -29,10 +29,10 @@ # It makes use of the SPARQL ORDER BY ordering definition, to allow ordering over arbitrarily typed expressions. # # @param [Enumerable<Array<RDF::Term>>] enum # enum of evaluated operand # @return [RDF::Literal] The maximum value of the terms - def apply(enum) + def apply(enum, **options) # FIXME: we don't actually do anything with distinct operands.shift if distinct = (operands.first == :distinct) if enum.empty? raise TypeError, "Maximum of an empty multiset" elsif enum.flatten.all? {|n| n.literal?}