gnu-octave / gnu-octave/statistics
Difference in `ff2n` results.
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- MATLAB
- Stars
- 42
- Forks
- 43
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 31
Description
I found this difference in the results of ff2n, while passing empty input. Can you check the following @pr0m1th3as , thank you.
In Octave:
octave:21> ff2n ([]);
error: ff2n: @var{N} must be a positive integer scalar.
error: called from
ff2n at line 39 column 5
In MATLAB:
>> ff2n ([])
ans =
[]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the ff2n implementation and checking how it handles an empty input. Compare its result and error behavior with the MATLAB example; done means the behavior is intentionally aligned with the expected compatibility result and covered by a regression check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- matlab
- Domain
- data
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 70/100