Skip to content

Commit

Permalink
fixing missing block argument in sequence operator
Browse files Browse the repository at this point in the history
  • Loading branch information
doriantaylor committed Feb 17, 2024
1 parent 989964c commit ad4e51d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sparql/algebra/operator/sequence.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Sequence < Operator
# @yieldparam [RDF::Query::Solution] solution
# @yieldreturn [void] ignored
# @see https://www.w3.org/TR/sparql11-query/#sparqlAlgebra
def execute(queryable, **options)
def execute(queryable, **options, &block)
debug(options) {"Sequence #{operands.to_sse}"}

last = queryable.query(operands.shift, **options.merge(depth: options[:depth].to_i + 1))
Expand Down

0 comments on commit ad4e51d

Please sign in to comment.