Commit bf24d775 authored by Matthew Dawson's avatar Matthew Dawson
Browse files

Fix bad documentation.

Don't mislead in the documentation.  When reading 24 bytes, 24 bytes are read.
Not 16.
parent 7fea2491
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -501,7 +501,7 @@ public class MatFileReader

        // Third segment.  Contains all the useful per-object information.
        Map<Integer, MatMCOSObjectInformation> objectInfoList = new HashMap<Integer, MatMCOSObjectInformation>();
        // There are 16 unknown bytes.  Ensure they are 0.
        // There are 24 unknown bytes.  Ensure they are 0.
        if (mcosDataBuf.getLong() != 0 || mcosDataBuf.getLong() != 0 || mcosDataBuf.getLong() != 0) {
            throw new IllegalStateException("MAT file's MCOS data has different byte values for unknown fields!  Aborting!");
        }