Package: ruby2.1
Version: 2.1.2-4
Severity: normal
Tags: upstream

In porting some three-dimensional-vector code from perl to ruby, I noticed that
the Vector class in ruby-2.1's standard library is broken. It returns a vector
that points in the opposite direction from that of the proper return value.

For example, witness this:

$ irb
irb(main):001:0> require 'matrix'
=> true
irb(main):002:0> Vector[1,0,0].cross_product Vector[0,1,0]
=> Vector[0, 0, -1]

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages ruby2.1 depends on:
ii  libc6                 2.19-10
ii  libgmp10              2:6.0.0+dfsg-6
ii  libruby2.1            2.1.2-4
ii  rubygems-integration  1.8

Versions of packages ruby2.1 recommends:
ii  libjs-jquery  1.7.2+dfsg-3.2

ruby2.1 suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to