We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f33961 commit cf973fbCopy full SHA for cf973fb
spSub4Sp.m
@@ -14,5 +14,8 @@
14
indexLoc = spA.Ind == index;
15
16
a = spA.Val(indexLoc);
17
+if isempty(a)
18
+ a = 0;
19
+end
20
21
end
0 commit comments