I see you did:
- radiusin = radius - h/2- radiusout = radius + h/2+
radiusin = radius - h/2.0+ radiusout = radius + h/2.0
Please undo that, and instead add at the top
from __future__ import division
and retest with that.
It's important to fix it like that, as Gramps 4.0 is supposed to work in
python 3 with same code. Modules where division is important should hence
work with the __future__ import so as to ensure code execution is identical.
Get latest updates about Open Source Projects, Conferences and News.