summaryrefslogtreecommitdiff
path: root/ruby/lswf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/lswf.rb')
-rw-r--r--ruby/lswf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby/lswf.rb b/ruby/lswf.rb
index 57228ba..236847e 100644
--- a/ruby/lswf.rb
+++ b/ruby/lswf.rb
@@ -16,7 +16,7 @@ File.open('input.txt', 'r') do |fin|
N = fin.gets.to_i
end
-lst = fibonacci(N, fib)
+fibonacci(N, fib)
fib = fib.reverse