Skip to content

Commit

Permalink
isntance doesn't need special None handling
Browse files Browse the repository at this point in the history
  • Loading branch information
cbm755 committed Nov 12, 2024
1 parent c9252ee commit 47834bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/@sym/isAlways.m
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@

cmd = vertcat(cmd, {
'(x, map_unknown_to) = _ins'
'if x is not None and isinstance(x, (MatrixBase, NDimArray)):'
'if isinstance(x, (MatrixBase, NDimArray)):'
' r = [a for a in flatten(transpose(x).tolist(), levels=1)]' % note tranpose

Check failure on line 132 in inst/@sym/isAlways.m

View workflow job for this annotation

GitHub Actions / codespell

tranpose ==> transpose

Check failure on line 132 in inst/@sym/isAlways.m

View workflow job for this annotation

GitHub Actions / codespell

tranpose ==> transpose
'else:'
' r = [x,]'
Expand Down

0 comments on commit 47834bd

Please sign in to comment.