fplll / fpylll

A Python interface for https://github.com/fplll/fplll
GNU General Public License v2.0
119 stars 60 forks source link

fpylll: enumeration: missing GSO type of long+longdouble #172

Closed cr-marcstevens closed 4 years ago

cr-marcstevens commented 4 years ago

fpylll enumeration supports GSO type long+longdouble mat_gso_long_ld, but throws an error because the right code is never reached because of the following issue: The fpylll Enumeration dispatch is missing a case in this if statement: if self.M._type == mat_gso_mpz_ld: should be if self.M._type == mat_gso_mpz_ld or self.M._type == mat_gso_long_ld:

https://github.com/fplll/fpylll/blob/deb9c85bcd1b6e39a2512e74578d3d685d107394/src/fpylll/fplll/enumeration.pyx#L389

cr-marcstevens commented 4 years ago

@lducas @malb could one of you fix this? I have no idea who has push rights.

cr-marcstevens commented 4 years ago

Thanks a lot!