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

This commit is contained in:
jrheinlaender
2013-03-27 18:59:41 +04:30
parent ad6444053b
commit b47cdd5f50
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);