Skip to content

increment (+=) , decrement(-=), multiply(*=) and divide(/=) operations don't work #130

@kmolan

Description

@kmolan

I'm using num-complex = version 0.4.6, and these kinds of operations is not yet supported:
`let mut var = T::one();

var += T::one();

var -= T::one();

var *= T::one();

var /= T::one();`

Now, this is easy to resolve if I change the above code to:
`let mut var = T::one();

var = var + T::one();

var = var - T::one();

var = var*T::one();

var = var/T::one();`

Still, it'd be nice to have this supported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions