Skip to content

Commit cf973fb

Browse files
committed
Add missing semicolon
1 parent 4f33961 commit cf973fb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spSub4Sp.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,8 @@
1414
indexLoc = spA.Ind == index;
1515

1616
a = spA.Val(indexLoc);
17+
if isempty(a)
18+
a = 0;
19+
end
1720

1821
end

0 commit comments

Comments
 (0)