diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-12-05 09:59:45 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-12-05 09:59:45 +0000 |
commit | bf74ef51a2b0f42bb0148b811a7ec8054ee7b20c (patch) | |
tree | 3732688b3c83865608fad9d998f00ac2db24b77f | |
parent | cd3a5e2bb257ad23af9a10338314cb8cdb09f965 (diff) | |
download | ruby-bf74ef51a2b0f42bb0148b811a7ec8054ee7b20c.tar.gz |
* lib/matrix.rb (Matrix::rank): use quo method to avoid integer
division problem. [ruby-core:09644]
* lib/matrix.rb (Matrix::rank_e): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | misc/ruby-mode.el | 2 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,10 @@ +Tue Dec 5 18:38:21 2006 Yukihiro Matsumoto <matz@ruby-lang.org> + + * lib/matrix.rb (Matrix::rank): use quo method to avoid integer + division problem. [ruby-core:09644] + + * lib/matrix.rb (Matrix::rank_e): ditto. + Tue Dec 5 00:59:05 2006 Yukihiro Matsumoto <matz@ruby-lang.org> * misc/ruby-mode.el (ruby-parse-partial): need to parse "/=" as diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el index c44b4c7875..cf827ebe5b 100644 --- a/misc/ruby-mode.el +++ b/misc/ruby-mode.el @@ -383,6 +383,8 @@ The variable ruby-indent-level controls the amount of indentation. (t (setq in-string (point)) (goto-char end)))) + ((looking-at "/=") + (goto-char pnt)) ((looking-at "/") (cond ((and (not (eobp)) (ruby-expr-beg 'expr-re)) |