Package: libgsl-ruby1.8
Version: 1.8.3-1
Severity: normal
When I run the following (from the package libgsl-ruby-doc), the behaviour
isn't what I expect. Here's an example:
in irb, I type:
Welcome!
irb --> require 'gsl'
==> true
irb --> v = GSL::Vector[0..5]
==> GSL::Vector
[ 0.000e00 1.000e00 2.000e00 3.000e00 4.000e00 5.000e00 ]
irb --> v[1..3]
==> GSL::Vector::View
[ 1.000e00 2.000e00 3.000e00 ]
################################################
Up to this point, everything works as I expected
################################################
irb --> v[1,2,3]
==> GSL::Vector
[ 0.000e00 1.000e00 2.000e00 ]
But this is really odd. I also get the same problem with 'get'. In the same irb
session:
irb --> v.get([1,2,3])
==> GSL::Vector
[ 0.000e00 1.000e00 2.000e00 ]
I get the exact same problem on other machines I've tried this on (all using
the same version of the package).
Cheers,
Matt Foster
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.16-1-686-smp (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libgsl-ruby1.8 depends on:
ii libgsl0 1.9-2 GNU Scientific Library (GSL) -- li
ii plotutils 2.5-2 The GNU plotutils (plotting utilit
ii ruby1.8 1.8.6-1+b1 Interpreter of object-oriented scr
libgsl-ruby1.8 recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]