Skip to content

Commit

Permalink
Fix non-overlapping range case to range_overlap
Browse files Browse the repository at this point in the history
  • Loading branch information
dc2917 committed Jan 6, 2025
1 parent 6404089 commit 84a2cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion episodes/08-defensive.md
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ function overlap = range_overlap(varargin)
% Catch non-overlapping ranges
if low >= highest || high<=lowest
output_range = NaN;
overlap = NaN;
return
end
end
Expand Down

0 comments on commit 84a2cef

Please sign in to comment.