Skip to content

Commit 02d0099

Browse files
authored
[Fix] Create objects with _from_runtime instead of from_any
This should have been solve by [this PR](spm/spm-python#35).
1 parent 508054b commit 02d0099

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mpython/runtime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def _process_argin(*args, **kwargs):
3333

3434
@staticmethod
3535
def _process_argout(res):
36-
return MatlabType.from_any(res)
36+
return MatlabType._from_runtime(res)
3737

3838
@staticmethod
3939
def _import_initialize():

0 commit comments

Comments
 (0)