Octave 7 fixes bug related to generated files in +package folder

fix-tolerance-parameters
Sébastien Villemot 2022-04-15 14:33:02 +02:00
parent 418c290ead
commit 715aff891a
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
2 changed files with 2 additions and 2 deletions

View File

@ -181,7 +181,7 @@ write_ssr_routine(lhs, rhs, eqname, ipnames_, M_);
% Workaround for Octave bug https://savannah.gnu.org/bugs/?46282
% Octave will randomly fail to read the ssr_* file generated in the +folder
if isoctave
if isoctave && octave_ver_less_than('7')
path(path)
end

View File

@ -98,7 +98,7 @@ write_ssr_routine(lhs, rhs, eqname, ipnames_, M_, pacmodl);
% Workaround for Octave bug https://savannah.gnu.org/bugs/?46282
% Octave will randomly fail to read the ssr_* file generated in the +folder
if isoctave
if isoctave && octave_ver_less_than('7')
path(path)
end