Skip to content

Commit

Permalink
exclude . from oldpaths
Browse files Browse the repository at this point in the history
  • Loading branch information
yasirroni authored and rdzman committed Oct 9, 2024
1 parent a8b07b6 commit c1ecfc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions install_matpower.m
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@

%% remove old paths
if rm_oldpaths
oldpaths = oldpaths(~strcmp(oldpaths, '.'));
rmpath(oldpaths{:});
if verbose
fprintf(div_line);
Expand Down

0 comments on commit c1ecfc9

Please sign in to comment.