bertiniteam / b2

Bertini 2.0: The redevelopment of Bertini in C++.
88 stars 34 forks source link

pybertini: complex conjugation of multiprec complex crashes #179

Open ofloveandhate opened 1 year ago

ofloveandhate commented 1 year ago

the following script is generating crashes:

import pybertini as pb
x = pb.multiprec.Complex("2.43", "0.21")
pb.multiprec.conj(x)
ofloveandhate commented 1 year ago

it works correctly in C++. the error must be in the binding layer

the C++ test is complex_multiprecision_class/complex_conjugation in test/classes/complex_test.cpp