JuliaMath / JuliaMath/Calculus.jl
Prime notation not working
- Dominant language
- Julia
- Stars
- 285
- Forks
- 78
- PR merge metrics
- No merged PRs in 30d
Description
Example code copied from README not working (julia-1.3.0, Calculus-0.5.1):
```julia
julia> using Calculus
julia> f(x) = sin(x)
f (generic function with 1 method)
julia> f'(1.0) - cos(1.0)
ERROR: MethodError: no method matching adjoint(::typeof(f))
Closest candidates are:
adjoint(::Missing) at missing.jl:100
adjoint(::Number) at number.jl:193
adjoint(::LinearAlgebra.Adjoint) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\LinearAlgebra\src\adjtrans.jl:152
...
Stacktrace:
[1] top-level scope at REPL[3]:1
julia> f''(1.0) - (-sin(1.0))
ERROR: MethodError: no method matching adjoint(::typeof(f))
Closest candidates are:
adjoint(::Missing) at missing.jl:100
adjoint(::Number) at number.jl:193
adjoint(::LinearAlgebra.Adjoint) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\LinearAlgebra\src\adjtrans.jl:152
...
Stacktrace:
[1] top-level scope at REPL[6]:1
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.