title: Numpy.where function not finding values within array... Anyone know why?
body: <p>I have been trying to use python's <code>numpy.where</code> function to determine the location of a specific value, but for some reason it incorrectly determines <code>False</code> where the value is actually found. Thereby returning an empty array. See below:</p>
  
  <pre><code>&gt;&gt;&gt;lbpoly=numpy.array([ 5.45  5.5   5.55  5.6   5.65  5.7   5.75  5.8   5.85  5.9   5.95  6.
  6.05  6.1   6.15  6.2   6.25  6.3   6.35  6.4   6.45  6.5   6.55  6.6
  6.65  6.7   6.75  6.8   6.85  6.9   6.95  7.  ])
  
  &gt;&gt;&gt;cpah=numpy.where(lbpoly==6.2)
  
  &gt;&gt;&gt;print cpah
  
  &gt;&gt;&gt;(array([], dtype=int32),)
  </code></pre>
  
  <p>Does anyone know why this is happening? I've tried many different variants, even using <code>&lt;</code> and <code>&gt;</code> logic. But this produces indices for 2 values.</p>