Skip to content

Commit

Permalink
Fixed comparison methods on Scalar floating point types to return Sca…
Browse files Browse the repository at this point in the history
…larBool

instead of bool. This solves a problem in the scipy.stats module where a
comparison was done with a value that could be scalar or an array.  .any()
was called, which failed if the input as a scalar.

Also added optimized comparison functions for integer types.
  • Loading branch information
Jason McCampbell (Enthought, Inc) committed Apr 27, 2011
1 parent 15a2cff commit 91a8f8d
Showing 1 changed file with 344 additions and 26 deletions.
Loading

0 comments on commit 91a8f8d

Please sign in to comment.