diff --git a/inst/@sym/function_handle.m b/inst/@sym/function_handle.m index f02d0d2d5..86c34e229 100644 --- a/inst/@sym/function_handle.m +++ b/inst/@sym/function_handle.m @@ -122,7 +122,7 @@ M.name = out{1}{1}; M.code = out{1}{2}; - assert (strcmp (M.name, [fcnname '.m']), 'sanity check failed: names should match'); + assert (strcmp (M.name, [fcnname '.m']), 'correctness check failed: names should match'); file_to_write = fullfile(fcnpath, [fcnname '.m']); [fid,msg] = fopen(file_to_write, 'w'); diff --git a/util/convert_comments.m b/util/convert_comments.m index 26b5e267d..e339a5a82 100644 --- a/util/convert_comments.m +++ b/util/convert_comments.m @@ -1,4 +1,4 @@ -%% Copyright (C) 2014-2018 Colin B. Macdonald +%% Copyright (C) 2014-2018, 2023 Colin B. Macdonald %% %% This file is part of OctSymPy. %% @@ -209,7 +209,7 @@ function convert_comments (basedir, subdir, dirout) N = Nfcn; fcn_line = ins{N}; - % sanity checks + % correctness checks I = strfind(ins{N+1}, '%'); if ~isempty(I) && I(1) == 1 ins{N}