Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In Julia 1.6.0 its saying no method matching #341

Closed
RohitRathore1 opened this issue May 13, 2021 · 2 comments
Closed

In Julia 1.6.0 its saying no method matching #341

RohitRathore1 opened this issue May 13, 2021 · 2 comments

Comments

@RohitRathore1
Copy link
Contributor

 p = LaurentPolynomial([24,10,-15,0,1],-2:1,:z)
ERROR: MethodError: no method matching LaurentPolynomial(::Vector{Int64}, ::UnitRange{Int64}, ::Symbol)
Closest candidates are:
  LaurentPolynomial(::AbstractVector{T}, ::Int64, ::Union{Char, AbstractString, Symbol}) where T<:Number at C:\Users\TeAmp0is0N\.julia\packages\Polynomials\cIxV8\src\polynomials\LaurentPolynomial.jl:115
  LaurentPolynomial(::AbstractVector{T}, ::Int64) where T<:Number at C:\Users\TeAmp0is0N\.julia\packages\Polynomials\cIxV8\src\polynomials\LaurentPolynomial.jl:115
  LaurentPolynomial(::AbstractVector{var"#355#T"}) where var"#355#T" at C:\Users\TeAmp0is0N\.julia\packages\Polynomials\cIxV8\src\abstract.jl:53
  ...
Stacktrace:
 [1] top-level scope
   @ REPL[31]:1
@jverzani
Copy link
Member

Yes, that is now just p = LaurentPolynomial([24,10,-15,0,1],-2,:z). Was this in the documentation too?

@RohitRathore1
Copy link
Contributor Author

Yes, that is now just p = LaurentPolynomial([24,10,-15,0,1],-2,:z). Was this in the documentation too?

Yes, I am working on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants