Changeset 2870


Ignore:
Timestamp:
06/14/07 15:04:22 (12 years ago)
Author:
sorber
Message:

Fixed omission in floats-to-doubles convenience method.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/visbio/util/MathUtil.java

    r2864 r2870  
    9595    double[] pp = new double[p.length]; 
    9696    double[] vv = new double[v.length]; 
     97    for (int i=0; i<p.length; i++) pp[i] = (double) p[i]; 
     98    for (int i=0; i<v.length; i++) vv[i] = (double) v[i]; 
    9799    return getDistance(pp, vv); 
    98100  } 
Note: See TracChangeset for help on using the changeset viewer.