[ET Trac] [Einstein Toolkit] #1590: Non ET thorn OutsideMask implicitly defines sqrt as int sqrt()

Einstein Toolkit trac-noreply at einsteintoolkit.org
Thu Apr 24 02:31:35 CDT 2014


#1590: Non ET thorn OutsideMask implicitly defines sqrt as int sqrt()
-------------------------+--------------------------------------------------
 Reporter:  rhaas        |       Owner:                     
     Type:  defect       |      Status:  new                
 Priority:  major        |   Milestone:                     
Component:  Other        |     Version:  development version
 Keywords:  OutsideMask  |  
-------------------------+--------------------------------------------------
 OutsideMask neglects to include math.h in src/update_mask.c which causes
 sqrt() to be implicitly defined as int sqrt() which causes distance
 estimates to be incorrect (most likely random since a double result is
 likely returned in some other way than an int result).

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1590>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list