[ET Trac] [Einstein Toolkit] #1958: parfiles accept 1.0, 0.0, 1e3 for integer typed parameters
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Thu Oct 20 10:31:37 CDT 2016
#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):
I've updated the patch to deal with the trunc(1e300) issue. There are a
number of ways this could be handled, but what I chose to do was to put
integerize() back and have trunc() call it. This allows you to assign the
output of trunc() to an int. I could leave it as a real and require
int(trunc()) if that's what people want.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1958#comment:21>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list