Changeset 3936


Ignore:
Timestamp:
04/17/08 07:29:36 (12 years ago)
Author:
melissa
Message:

Fixed ArrayIndexOutOfBounds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/in/FV1000Reader.java

    r3900 r3936  
    639639    lut = new short[core.sizeC[0]][3][65536]; 
    640640    byte[] buffer = new byte[65536 * 4]; 
    641     for (int c=0; c<core.sizeC[0]; c++) { 
     641    int count = (int) Math.min(core.sizeC[0], lutNames.size()); 
     642    for (int c=0; c<count; c++) { 
    642643      RandomAccessStream stream = getFile((String) lutNames.get(c)); 
    643644      stream.seek(stream.length() - 65536 * 4); 
Note: See TracChangeset for help on using the changeset viewer.