[ruby-cvs:71853] marcandre:r64761 (trunk): lib/matrix: Fix potential bug of Vector#angle_with

marcandre at ruby-lang.org marcandre at ruby-lang.org
Sun Sep 16 13:18:50 JST 2018


marcandre	2018-09-16 13:18:50 +0900 (Sun, 16 Sep 2018)

  New Revision: 64761

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64761

  Log:
    lib/matrix: Fix potential bug of Vector#angle_with
    
    Could happen for some linearly dependent vectors.
    Patch by Vasiliy Petrov. [Fix GH-1803]

  Modified files:
    trunk/lib/matrix.rb
    trunk/test/matrix/test_vector.rb


More information about the ruby-cvs mailing list