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

This commit is contained in:
wmayer
2016-11-05 23:21:42 +01:00
parent 96e1b3b16f
commit 9fe82bfbb9
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));
}