Skip to content

Commit 008fc32

Browse files
committed
[bug] fix octave 10.3 ci error
1 parent b44b19a commit 008fc32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jdict.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208

209209
% overloaded numel to prevent subsref from outputting many outputs
210210
function n = numel(obj, varargin)
211-
if (exist('OCTAVE_VERSION', 'builtin') ~= 0 && regexp(OCTAVE_VERSION, '^5\.'))
211+
if (exist('OCTAVE_VERSION', 'builtin') ~= 0)
212212
n = 1;
213213
else
214214
n = max(1, (nargin > 1) + numel(obj.data) * (nargin == 1));

0 commit comments

Comments
 (0)