Skip to content

Commit 475f8de

Browse files
author
Dean Strelau
committed
[004] Fix bug introduced in ruby refactor
1 parent 383d8b0 commit 475f8de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: euler.rb

+1
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ def triple2(sum)
143143
max = [max,n].max if n.to_s == n.to_s.reverse
144144
}
145145
}
146+
max
146147
end
147148

148149
### PROBLEM 005 ###

0 commit comments

Comments
 (0)