Skip to content

Commit 0b74c0e

Browse files
committed
fix typos
1 parent c92fc61 commit 0b74c0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/atlas/labelClusters.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525

2626
default_clusterSize = 0;
2727

28-
isFile = @(x) exists(x, 'file') == 2;
29-
isPositive = @(x) isinteger(x) && X >= 0;
28+
isFile = @(x) exist(x, 'file') == 2;
29+
isPositive = @(x) isnumeric(x) && x >= 0;
3030

3131
p = inputParser;
3232

0 commit comments

Comments
 (0)