Skip to content

Commit e6623f0

Browse files
committed
Renamed function check_length to correct_length to match it's purpose
1 parent 7ab5273 commit e6623f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

load_datx.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
compression, Data.meta.axes );
107107

108108
% Check number of data points
109-
[signals, Data.meta] = check_length(signals, Data.meta, filePath);
109+
[signals, Data.meta] = correct_length(signals, Data.meta, filePath);
110110

111111
% Remove invalid rows
112112
signals = clean(signals, 254);
@@ -263,7 +263,7 @@
263263
end
264264

265265

266-
function [signals, meta] = check_length(signals, meta, filePath)
266+
function [signals, meta] = correct_length(signals, meta, filePath)
267267
nsamples = length(signals);
268268
nexpected = seconds(meta.duration) * double(meta.hz);
269269
diffSamples = nsamples - nexpected;

0 commit comments

Comments
 (0)