JuliaDiff / JuliaDiff/FiniteDifferences.jl
bug(?) on round/floor/ceil
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 318
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
this is probably edge case but:
julia> central_fdm(5, 1)(ceil, 0.1)
5.833333333333332
julia> central_fdm(5, 1)(ceil, 0.2)
-0.8333333333333333
Contributor guide
No contributing guide indexed for this repository
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
Reproduce the reported central_fdm(5, 1) calls with ceil at 0.1 and 0.2, then inspect the central_fdm entry point and its handling of round/floor/ceil. The issue names no files or tests and does not define the expected result; use the linked ChainRules.jl pull request for related context before deciding what a fix should satisfy.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100