Bug? from Real to Int
liruipeng opened this issue · comments
Describe the bug
These two lines look suspicious (caught by compilers warnings)
Do we really want to cast them into int?
Hi Rui Peng, this is probably an oversight and the variables should be cast as float. On a more general note, this particular routine appears to be deprecated to the point we're likely to remove it from the code altogether.
Many thanks for bringing this to our attention!