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

* 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
parent cd3a5e2bb2
commit bf74ef51a2
2 changed files with 9 additions and 0 deletions

View file

@ -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> Tue Dec 5 00:59:05 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
* misc/ruby-mode.el (ruby-parse-partial): need to parse "/=" as * misc/ruby-mode.el (ruby-parse-partial): need to parse "/=" as

View file

@ -383,6 +383,8 @@ The variable ruby-indent-level controls the amount of indentation.
(t (t
(setq in-string (point)) (setq in-string (point))
(goto-char end)))) (goto-char end))))
((looking-at "/=")
(goto-char pnt))
((looking-at "/") ((looking-at "/")
(cond (cond
((and (not (eobp)) (ruby-expr-beg 'expr-re)) ((and (not (eobp)) (ruby-expr-beg 'expr-re))