Skip to content

Commit

Permalink
obvious bug fix in ElasticCollisionPerez
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinRayAngus committed Jun 28, 2024
1 parent 1565175 commit d827427
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void ElasticCollisionPerez (
const T_index NI1 = I1e - I1s;
const T_index NI2 = I2e - I2s;
const T_index max_N = amrex::max(NI1,NI2);
const T_index min_N = amrex::max(NI1,NI2);
const T_index min_N = amrex::min(NI1,NI2);

T_PR * const AMREX_RESTRICT w1 = soa_1.m_rdata[PIdx::w];
T_PR * const AMREX_RESTRICT u1x = soa_1.m_rdata[PIdx::ux];
Expand Down

0 comments on commit d827427

Please sign in to comment.