[ET Trac] [Einstein Toolkit] #1518: Parameter parser and CCTK_ParameterSet interpret leading zeros in numbers differently

Einstein Toolkit trac-noreply at einsteintoolkit.org
Thu Jan 16 09:40:05 CST 2014


#1518: Parameter parser and CCTK_ParameterSet interpret leading zeros in numbers
differently
----------------------+-----------------------------------------------------
  Reporter:  rhaas    |       Owner:  sbrandt            
      Type:  defect   |      Status:  closed             
  Priority:  minor    |   Milestone:                     
 Component:  Cactus   |     Version:  development version
Resolution:  invalid  |    Keywords:                     
----------------------+-----------------------------------------------------
Changes (by sbrandt):

  * status:  review => closed
  * resolution:  => invalid


Comment:

 It turns out that this was fixed in commit 5063, when I switched from
 using strtol() to operator>>(). I chose the latter because it does more
 error checking. Interestingly, it also has the effect of reverting Cactus
 back to the old behavior with regard to leading zeros.

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


More information about the Trac mailing list