Skip to content

Commit 6449213

Browse files
committed
Allow 0 as streamid
1 parent 5b27b8c commit 6449213

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

load_xdf.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@
225225
end
226226

227227
streams = {}; % cell array of returned streams (in the order of appearance in the file)
228-
idmap = sparse(2^31-1,1); % remaps stream id's onto indices in streams
228+
idmap = containers.Map('keyType','uint32','valueType','uint32'); % remaps stream id's onto indices in streams
229229
temp = struct(); % struct array of temporary per-stream information
230230
fileheader = struct(); % the file header
231231
f = fopen(filename,'r','ieee-le.l64'); % file handle

0 commit comments

Comments
 (0)