diff --git a/lib/core/operations.rb b/lib/core/operations.rb index 3455246..4836cf6 100644 --- a/lib/core/operations.rb +++ b/lib/core/operations.rb @@ -238,7 +238,7 @@ module Rpl # inverse def inverse( stack, dictionary ) - stack << { value: '« 1 swap / »', + stack << { value: '« 1.0 swap / »', type: :program } Rpl::Lang::Core.eval( stack, dictionary )