[ET Trac] [Einstein Toolkit] #1469: Invalid integer parameters cause a confusing error message
    Einstein Toolkit 
    trac-noreply at einsteintoolkit.org
       
    Tue Nov  5 10:22:59 CST 2013
    
    
  
#1469: Invalid integer parameters cause a confusing error message
--------------------+-------------------------------------------------------
 Reporter:  hinder  |       Owner:                     
     Type:  defect  |      Status:  new                
 Priority:  major   |   Milestone:                     
Component:  Cactus  |     Version:  development version
 Keywords:          |  
--------------------+-------------------------------------------------------
 If an integer-valued parameter is assigned a value such as
 100000000000000000000000 which is too large to fit into an integer, the
 Piraha parameter parser interprets it as a real and complains
 {{{
   (line 15 of sim.par):
 -> Parameter type mismatch INT != REAL
 }}}
 This message is not very helpful.  A better error message might be:
 {{{
   (line 15 of sim.par):
 -> Parameter MyThorn::mypar cannot be set to the value
 10000000000000000000 as this is not a valid INT value
 }}}
-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1469>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
    
    
More information about the Trac
mailing list