Commit 47ca9b62 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

replace deprecated Matlab function isstr with ischar

parent 34b28b80
......@@ -25,7 +25,7 @@ dispIndx = 0; % 1: turn on all the diplays on the screen; 0: turn off (Added b
[nx,no]=size(x0);
nx=max(nx,no);
NumGrad= ( ~isstr(grad) | length(grad)==0);
NumGrad= ( ~ischar(grad) | length(grad)==0);
done=0;
itct=0;
fcount=0;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment