Skip to content

Commit

Permalink
remove unused side_distance from rectangle.h
Browse files Browse the repository at this point in the history
  • Loading branch information
rainwoodman committed Jan 9, 2017
1 parent a28ea80 commit 2a835db
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scipy/spatial/ckdtree/src/rectangle.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,10 @@ struct Rectangle {
* of the same accessors. */
npy_float64 * const maxes() const { return &buf[0]; }
npy_float64 * const mins() const { return &buf[0] + m; }
npy_float64 * const side_distances() const { return &buf[0] + m + m; }

Rectangle(const npy_intp _m,
const npy_float64 *_mins,
const npy_float64 *_maxes) : m(_m), buf(3 * m) {
const npy_float64 *_maxes) : m(_m), buf(2 * m) {

/* copy array data */
/* FIXME: use std::vector ? */
Expand Down

0 comments on commit 2a835db

Please sign in to comment.