The converted python code is:
I[arange(1, 2),arange(),100]=1
When the python file is run, it produces the following error:
TypeError: arange() missing 2 required positional arguments: 'start' and 'stop'
Checking the libsmop, the function signature for arange() is:
def arange(start,stop,step=1,**kwargs), which does require the star and stop argument. Did I miss a step in the setup or was this a bug?
The original matlab code is:
I(1:2,:,100)=1;
The converted python code is:
I[arange(1, 2),arange(),100]=1
When the python file is run, it produces the following error:
TypeError: arange() missing 2 required positional arguments: 'start' and 'stop'
Checking the libsmop, the function signature for arange() is:
def arange(start,stop,step=1,**kwargs)
, which does require the star and stop argument. Did I miss a step in the setup or was this a bug?