Skip to content

Commit 220b4f0

Browse files
authored
fix shadowing error.
1 parent 8f7e7ae commit 220b4f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/reactions/bulkGeneric/unitTests/testMixedReactions.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,13 @@ void timeStepTest( PARAMS_DATA const & params,
9191
aggregatePrimarySpeciesConcentration_n[i] = aggregatePrimarySpeciesConcentration[i];
9292
}
9393

94-
auto computeResidualAndJacobian = [&] HPCREACT_HOST_DEVICE ( REAL_TYPE const (&logPrimarySpeciesConcentration)[numPrimarySpecies],
94+
auto computeResidualAndJacobian = [&] HPCREACT_HOST_DEVICE ( REAL_TYPE const (&primarySpeciesConcentration)[numPrimarySpecies],
9595
REAL_TYPE (&r)[numPrimarySpecies],
9696
REAL_TYPE (&J)[numPrimarySpecies][numPrimarySpecies] )
9797
{
9898
MixedReactionsType::updateMixedSystem( temperature,
9999
params,
100-
logPrimarySpeciesConcentration,
100+
primarySpeciesConcentration,
101101
logSecondarySpeciesConcentration,
102102
aggregatePrimarySpeciesConcentration,
103103
dAggregatePrimarySpeciesConcentrations_dlogPrimarySpeciesConcentration,

0 commit comments

Comments
 (0)