Closed evolvedmicrobe closed 3 years ago
Quick question on this line:
https://github.com/siavashk/pycpd/blob/3b0d10f6029ef6fdccfd231417e2cc1afbe58024/pycpd/emregistration.py#L165
In python 3 this is floating point division, but in python 2 this looks like it will perform integer (floor) division, was this supposed to be floating point division under both versions?
Good catch! Yes, I should've done from __future__ import division. This is a bug.
from __future__ import division
Awesome, thanks @siavashk for the quick response!
Quick question on this line:
https://github.com/siavashk/pycpd/blob/3b0d10f6029ef6fdccfd231417e2cc1afbe58024/pycpd/emregistration.py#L165
In python 3 this is floating point division, but in python 2 this looks like it will perform integer (floor) division, was this supposed to be floating point division under both versions?