clbustos / statsample

A suite for basic and advanced statistics on Ruby.
http://github.com/clbustos/statsample
BSD 3-Clause "New" or "Revised" License
403 stars 96 forks source link

Argument should be a vector? #16

Closed brandonparsons closed 10 years ago

brandonparsons commented 10 years ago

Hi there,

I'm trying to use statsample, but having some issues....

(pry) main: 0> b = [2,3,4,5,6,7].to_scale
(pry) output error: #<TypeError: Argument should be a Vector>

Do you know why I might be getting this error?

clbustos commented 10 years ago

I tested on my setup and I didn't have any problem. Can you tell me what RVM and statsample version are you using?

brandonparsons commented 10 years ago

Hi there - it turns out there is a problem with awesome_print and pry. For some reason it was causing statsample to blow up as well.

clbustos commented 10 years ago

Ah, ok. El dic 22, 2013 3:37 a.m., "brandonparsons" notifications@github.com escribió:

Hi there - it turns out there is a problem with awesome_print and pry. For some reason it was causing statsample to blow up as well.

— Reply to this email directly or view it on GitHubhttps://github.com/clbustos/statsample/issues/16#issuecomment-31079997 .