Fixed python format flags "f" from float to double "d"

This commit is contained in:
jriegel
2013-09-22 22:03:02 +02:00
parent 66ee73f54b
commit 0738ced074
4 changed files with 9 additions and 9 deletions

View File

@@ -210,7 +210,7 @@ PyObject* TopoShapeWirePy::fixWire(PyObject *args)
PyObject* TopoShapeWirePy::makeOffset(PyObject *args)
{
double dist;
if (!PyArg_ParseTuple(args, "f",&dist))
if (!PyArg_ParseTuple(args, "d",&dist))
return 0;
const TopoDS_Wire& w = TopoDS::Wire(getTopoShapePtr()->_Shape);