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

Einstein Toolkit trac-noreply at einsteintoolkit.org
Thu Jan 20 23:19:48 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 knarf):

 This code is not dubious to me. '&&' binds stronger than '||', much like
 '*' binds stronger than '+'. I wouldn't see a problem with yet another set
 of parenthesis, but I also don't see the point of it. Please feel free to
 add more parenthesis if you like or maybe if some compiler thinks it is
 clever.

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


More information about the Trac mailing list