[ET Trac] [Einstein Toolkit] #312: typo in eosgeneral con2prim causes assignment to full array instead of single element

Einstein Toolkit trac-noreply at einsteintoolkit.org
Sat Feb 26 12:14:32 CST 2011


#312: typo in eosgeneral con2prim causes assignment to full array instead of
single element
---------------------+------------------------------------------------------
 Reporter:  rhaas    |       Owner:            
     Type:  defect   |      Status:  new       
 Priority:  minor    |   Milestone:            
Component:  Cactus   |     Version:  ET_2010_11
 Keywords:  GRHydro  |  
---------------------+------------------------------------------------------
 in Con2PrimGeneral inside a "do k .. do j .. do i" loop an assignment to
 the array "f" is made where only f(i,j,k) is used later on (all of "f" had
 been used earlier). In Con2PrimGeneral_Polytype this does no happen.

 This causes no actual error, just slower execution.

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


More information about the Trac mailing list