Skip to content

Problems integrating complex functions #82

@Navascues1980

Description

@Navascues1980

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions