get rid of ambiguous parentheses warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
db31f2fafb
commit
716610ae56
0
benchmark/bm_so_meteor_contest.rb
Normal file → Executable file
0
benchmark/bm_so_meteor_contest.rb
Normal file → Executable file
@ -64,7 +64,7 @@ class Matrix
|
|||||||
|
|
||||||
# Returns +true+ if +U+, and hence +A+, is singular.
|
# Returns +true+ if +U+, and hence +A+, is singular.
|
||||||
|
|
||||||
def singular? ()
|
def singular?
|
||||||
@column_count.times do |j|
|
@column_count.times do |j|
|
||||||
if (@lu[j][j] == 0)
|
if (@lu[j][j] == 0)
|
||||||
return true
|
return true
|
||||||
|
@ -5,11 +5,11 @@ ECHO = 0x00000008
|
|||||||
TIOCGETP = 0x40067408
|
TIOCGETP = 0x40067408
|
||||||
TIOCSETP = 0x80067409
|
TIOCSETP = 0x80067409
|
||||||
|
|
||||||
def cbreak ()
|
def cbreak
|
||||||
set_cbreak(true)
|
set_cbreak(true)
|
||||||
end
|
end
|
||||||
|
|
||||||
def cooked ()
|
def cooked
|
||||||
set_cbreak(false)
|
set_cbreak(false)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user