From: Bil Kleb Date: 2002-05-23T19:20:19+09:00 Subject: Help: Ap fails for 1.7.2 On several occuassions over the last few months, I've tried to run our application using the latest CVS snapshot of ruby, but it simply doesn't run. When I start pairing down the code to isolate the problem, it vanishes. $ ruby -r debug -w -d Scalar.rb -p diffusion -v 1 Debug.rb Emacs support available. Scalar.rb:4:require 'Case' (rdb:1) c /usr/local/pkgs/ruby/lib/ruby/1.7/complex.rb:452: warning: method redefined; discarding old atan /usr/local/pkgs/ruby/lib/ruby/1.7/singleton.rb:68: warning: instance_of? (...) interpreted as grouped expression /usr/local/pkgs/ruby/lib/ruby/1.7/singleton.rb:90: warning: define_method (...) interpreted as method call /usr/local/pkgs/ruby/lib/ruby/1.7/singleton.rb:112: warning: define_method (...) interpreted as method call /usr/local/pkgs/ruby/lib/ruby/1.7/singleton.rb:123: warning: define_method (...) interpreted as method call /usr/local/pkgs/ruby/lib/ruby/1.7/singleton.rb:218: warning: sleep (...) interpreted as grouped expression /usr/local/pkgs/ruby/lib/ruby/1.7/singleton.rb:145: warning: redefine instance Exception `ArgumentError' at ./InteriorCell.rb:73 - Float 2.70954132 out of range ./InteriorCell.rb:73: `Float 2.70954132 out of range' (ArgumentError) from ./Case.rb:16:in `new' from ./Case.rb:16:in `initialize' from ./Case.rb:15:in `times' from ./Case.rb:15:in `initialize' from Scalar.rb:65:in `new' from Scalar.rb:65 ./InteriorCell.rb:73: @@alphaTable.map!{|line| line.split.map{|n| n.to_f}}.sort! (rdb:1) p @@alphaTable.first " 2.70954132 2.53154492 0.153846145 0.235218957 0.498070031\n" (rdb:1) p @@alphaTable.size 555 Currently the application works fine with ruby 1.6.7 (2002-03-19) [i686-linux] Note: I'm using narray-0.5.5 Any pointers as to what to look for or how? Thanks, -- Bil Kleb NASA Langley Research Center Hampton, Virginia, USA