[ET Trac] [Einstein Toolkit] #222: Dubious code in Hydro_InitExcision.c

Einstein Toolkit trac-noreply at einsteintoolkit.org
Fri Jan 21 08:36:30 CST 2011


#222: Dubious code in Hydro_InitExcision.c
-----------------------+----------------------------------------------------
  Reporter:  eschnett  |       Owner:     
      Type:  defect    |      Status:  new
  Priority:  minor     |   Milestone:     
 Component:  Cactus    |     Version:     
Resolution:            |    Keywords:     
-----------------------+----------------------------------------------------

Comment (by eschnett):

 Yes, I think people get confused with how strong && and || bind. However,
 I only wanted to check whether the expression is actually correct as
 coded.

 ... and if you want to remove superfluous parentheses, then I would begin
 with the ones surrounding the inequality comparisons.

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


More information about the Trac mailing list