Skip to content

[bugfix][complex] cast 1.0 into field_type in 1.0/x expressions

Nils-Arne Dreier requested to merge bugfix_inverse_of_complex_float into master

The expression 1.0/x, where x is a std::complex lead to a compile error. This is fixed by casting 1.0 explicit to the used field_type.

Merge request reports

Loading