#1958: parfiles accept 1.0, 0.0, 1e3 for integer typed parameters -----------------------+---------------------------------------------------- Reporter: rhaas | Owner: Type: defect | Status: new Priority: optional | Milestone: ET_2016_11 Component: Cactus | Version: development version Resolution: | Keywords: -----------------------+----------------------------------------------------
Comment (by sbrandt):
The attached patch removes the integerize() function )which performs the conversion from real to int when that was safe). It also changes the return type of floor, ceil, and trunc to return type int (which allows expressions.par to work without integerize()).