Skip to content

Commit

Permalink
Language updates
Browse files Browse the repository at this point in the history
  • Loading branch information
cbm755 committed Oct 26, 2023
1 parent 62d4d9f commit d88c7ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion inst/@sym/function_handle.m
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
4 changes: 2 additions & 2 deletions util/convert_comments.m
Original file line number Diff line number Diff line change
@@ -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.
%%
Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit d88c7ec

Please sign in to comment.