* 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
This commit is contained in:
matz 2006-12-05 09:59:45 +00:00
Родитель cd3a5e2bb2
Коммит bf74ef51a2
2 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -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

Просмотреть файл

@ -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))