fixes #0002460: Use keyword 'explicit' for Quantity constructor

This commit is contained in:
wmayer
2016-11-05 23:21:42 +01:00
parent b75e2d54c3
commit 47b41a7883
13 changed files with 157 additions and 122 deletions

View File

@@ -198,7 +198,7 @@ PyObject* QuantityPy::getValueAs(PyObject *args)
return 0;
}
quant = getQuantityPtr()->getValueAs(quant);
quant = Quantity(getQuantityPtr()->getValueAs(quant));
return new QuantityPy(new Quantity(quant));
}