Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

cleanup

  • Loading branch information...
commit 2b2c7a0c4dd8819b606750cffa4f4ce1ededcf5b 1 parent 2aeda37
@quix quix authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/pure/pure_private/driver.rb
View
4 lib/pure/pure_private/driver.rb
@@ -8,7 +8,7 @@ module PurePrivate
module Driver
module_function
- def build_and_compute(mod, root, num_threads, &block)
+ def build_and_compute(mod, root, num_threads)
begin
CompTree.build do |driver|
mod.ancestors.each { |ancestor|
@@ -18,7 +18,7 @@ def build_and_compute(mod, root, num_threads, &block)
if existing_node.nil? or existing_node.function.nil?
final_spec = spec.merge(:module => ancestor)
node = driver.define(function_name, *spec[:args])
- node.function = yield function_name, final_spec
+ node.function = yield(function_name, final_spec)
end
}
end
Please sign in to comment.
Something went wrong with that request. Please try again.