[ET Trac] [Einstein Toolkit] #1958: parfiles accept 1.0, 0.0, 1e3 for integer typed parameters

Einstein Toolkit trac-noreply at einsteintoolkit.org
Mon Sep 26 11:16:15 CDT 2016


#1958: parfiles accept 1.0, 0.0, 1e3 for integer typed parameters
-----------------------+----------------------------------------------------
  Reporter:  rhaas     |       Owner:                     
      Type:  defect    |      Status:  new                
  Priority:  optional  |   Milestone:                     
 Component:  Cactus    |     Version:  development version
Resolution:            |    Keywords:                     
-----------------------+----------------------------------------------------

Comment (by sbrandt):

 OK, well, if it compiled without the 1.0 -> 1 auto conversion, then I
 guess I don't remember what motivated me to make it work this way.

 I'm not sure what you mean by "small errors making the test ineffective."

 My comment about booleans, btw, is that "true" and "false" aren't
 obviously 1 and 0 (at least not to me). It is in C, of course. For the
 shell, however, 0=true, non-zero=error code.

 In the end, however, I also don't have a strong opinion about this. :)

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1958#comment:5>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list