1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* misc/ruby-mode.el (ruby-parse-partial): need to parse "/=" as

self assignment operator, not regex.  [ruby-talk:227324]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2006-12-05 09:56:18 +00:00
parent 3acd34fd64
commit cd3a5e2bb2
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Tue Dec 5 00:59:05 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
* misc/ruby-mode.el (ruby-parse-partial): need to parse "/=" as
self assignment operator, not regex. [ruby-talk:227324]
Tue Dec 5 00:19:14 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
* intern.h, object.c, variable.c (rb_mod_constants): added an optional

View file

@ -745,7 +745,7 @@ class Matrix
det *= -1
end
(k + 1).upto(size) do |i|
q = a[i][k] / a[k][k]
q = a[i][k].quo(a[k][k])
k.upto(size) do |j|
a[i][j] -= a[k][j] * q
end
@ -846,7 +846,7 @@ class Matrix
a[pi], a[i] = a[i], a[pi]
end
(pi + 1 ... a_row_size).each do |k|
q = a[k][j] / a[pi][j]
q = a[k][j].quo(a[pi][j])
(pi ... a_column_size).each do |j0|
a[k][j0] -= q * a[pi][j0]
end