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

Problems integrating complex functions #82

Open
Navascues1980 opened this issue Jan 16, 2024 · 0 comments
Open

Problems integrating complex functions #82

Navascues1980 opened this issue Jan 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Navascues1980
Copy link

Hi all,

Whenever I try to integrate a complex function, the package returns the error message:

ERROR: MethodError: ^(::Complex{Num}, ::Num) is ambiguous.

This happens, e.g., when I input:

integrate(cos(x)+2*im)

This is a bug, isn't it? Integrals such as

integrate(cos(x)+2)

do not give me any trouble.

Below you can find a full code that does not run.

Best regards,

Miguel

using Symbolics
using SymbolicNumericIntegration

@variables x
integrate(cos(x) +im)

@Navascues1980 Navascues1980 added the bug Something isn't working label Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant