Skip to content

Parser parses "-i" as 0+0i at beginning of string #14

Description

@DKLoehr

If an equation or variable string expression starts with "-i", the parser evaluates that part as being 0. The result should be 0+-1i, but for some reason this results in 0+0i instead.
Workaround is to replace it with -1i, which is parsed correctly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions