Skip to content

Commit

Permalink
add space
Browse files Browse the repository at this point in the history
  • Loading branch information
thib44 committed Sep 13, 2017
1 parent 02a57ca commit 87a753e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/procedo/engine/interpreter.rb
Expand Up @@ -137,6 +137,7 @@ def run(node)
if node.is_a?(Procedo::Formula::Language::IndividualReading)
product = product.variant
end

value = product.get(indicator.name.to_sym, @env['READ_AT'])
if unit && value.respond_to?(:to_f)
value = value.method(:to_f).arity.nonzero? ? value.to_f(unit) : value.to_f
Expand Down

0 comments on commit 87a753e

Please sign in to comment.