Skip to content

Commit 48d302d

Browse files
authored
Merge pull request #2312 from dluong27/develop
Add otherwise block to switch statement for handling unsupported arch…
2 parents 48951e1 + 59fb1d4 commit 48d302d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/analysis/subspaces/nullspace/getNullSpace.m

+3
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@
4444
rankS = nullS.rank;
4545
V = speye(n-rankS,n-rankS); % is a sparse I of order n-rankS.
4646
Z = nullSpaceOperatorApply(nullS,V); % satisfies S*Z = 0.
47+
otherwise
48+
Z = null(full(S));
49+
rankS = rank(full(S));
4750
end
4851

4952
% Check if S*Z = 0.

0 commit comments

Comments
 (0)