Commit in lcsim/src/org/lcsim/util/lcio on MAIN | |||
SIOParticleID.java | +2 | -2 | 1.2 -> 1.3 |
bug fix; should be reading a float and not an int
diff -u -r1.2 -r1.3 --- SIOParticleID.java 17 Oct 2007 02:06:23 -0000 1.2 +++ SIOParticleID.java 1 Feb 2013 00:25:54 -0000 1.3 @@ -9,7 +9,7 @@
/** * * @author Tony Johnson
- * @version $Id: SIOParticleID.java,v 1.2 2007/10/17 02:06:23 tonyj Exp $
+ * @version $Id: SIOParticleID.java,v 1.3 2013/02/01 00:25:54 jeremy Exp $
*/ class SIOParticleID implements ParticleID {
@@ -21,7 +21,7 @@
algorithmType =in.readInt() ; int n = in.readInt(); parameters = new double[n];
- for (int i=0; i<n; i++) parameters[i] = in.readInt();
+ for (int i=0; i<n; i++) parameters[i] = in.readFloat();
} static void write(ParticleID id, SIOOutputStream out, int flags) throws IOException
Use REPLY-ALL to reply to list
To unsubscribe from the LCD-CVS list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCD-CVS&A=1