Skip to content

Commit

Permalink
fix code in unifit
Browse files Browse the repository at this point in the history
  • Loading branch information
pr0m1th3as committed Feb 19, 2024
1 parent 0c4efb3 commit ef5ee86
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 56 deletions.
55 changes: 0 additions & 55 deletions inst/dist_fit/private/expandFreq.m

This file was deleted.

2 changes: 1 addition & 1 deletion inst/dist_fit/unifit.m
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
endif

## Check frequency vector
if (nargin > || isempty (freq))
if (nargin < 3 || isempty (freq))
freq = ones (size (x));
elseif (! isequal (size (x), size (freq)))
error ("unifit: X and FREQ vector mismatch.");
Expand Down

0 comments on commit ef5ee86

Please sign in to comment.