fixes #0002460: Use keyword 'explicit' for Quantity constructor
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user