Skip to content

Commit 405db21

Browse files
committed
Update regression files, attempt to fix security issue
1 parent bc56edc commit 405db21

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

SU2_CFD/src/solvers/CNEMONSSolver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ void CNEMONSSolver::BC_HeatFluxCatalytic_Wall(CGeometry *geometry,
492492
Note that we need to add a contribution for moving walls to the Jacobian. ---*/
493493
if (implicit) {
494494
/*--- Enforce the no-slip boundary condition in a strong way ---*/
495-
for (auto iVar = nSpecies; iVar < nSpecies+nDim; iVar++) {
495+
for (unsigned short iVar = nSpecies; iVar < nSpecies+nDim; iVar++) {
496496
total_index = iPoint*nVar+iVar;
497497
Jacobian.DeleteValsRowi(total_index);
498498
}

TestCases/parallel_regression.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ def main():
145145
visc_cone.cfg_dir = "nonequilibrium/viscous"
146146
visc_cone.cfg_file = "axi_visccone.cfg"
147147
visc_cone.test_iter = 10
148-
visc_cone.test_vals = [-5.222212, -5.746462, -20.569425, -20.633786, -20.547642, 1.255865, -3.208363, -0.016006, 0.093455, 32633.000000]
149-
visc_cone.test_vals_aarch64 = [-5.222212, -5.746462, -20.569425, -20.633786, -20.547642, 1.255865, -3.208363, -0.016006, 0.093455, 32633.000000]
148+
visc_cone.test_vals = [-5.222212, -5.746462, -20.559802, -20.510196, -20.439814, 1.255865, -3.208363, -0.016006, 0.093455, 32633.000000]
149+
visc_cone.test_vals_aarch64 = [-5.222212, -5.746462, -20.559802, -20.510196, -20.439814, 1.255865, -3.208363, -0.016006, 0.093455, 32633.000000]
150150
visc_cone.new_output = True
151151
test_list.append(visc_cone)
152152

@@ -164,7 +164,7 @@ def main():
164164
super_cat.cfg_dir = "nonequilibrium/viscous"
165165
super_cat.cfg_file = "super_cat.cfg"
166166
super_cat.test_iter = 10
167-
super_cat.test_vals = [-5.232590, -5.757884, -20.727046, -20.748136, -20.564044, 1.246889, -3.205235, -0.028406, 0.250857, 3.2459e+04]
167+
super_cat.test_vals = [-5.232590, -5.757884, -20.641547, -20.640244, -20.539243, 1.246889, -3.205235, -0.028406, 0.250857, 32459.000000]
168168
super_cat.su2_exec = "mpirun -n 2 SU2_CFD"
169169
super_cat.timeout = 1600
170170
super_cat.new_output = True

TestCases/serial_regression.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ def main():
7373
visc_cone.cfg_dir = "nonequilibrium/viscous"
7474
visc_cone.cfg_file = "axi_visccone.cfg"
7575
visc_cone.test_iter = 10
76-
visc_cone.test_vals = [-5.215229, -5.739368, -20.545048, -20.618699, -20.502531, 1.262784, -3.205454, -0.015696, 0.093207, 32656.000000]
77-
visc_cone.test_vals_aarch64 = [-5.215229, -5.739368, -20.545048, -20.618699, -20.502531, 1.262784, -3.205454, -0.015696, 0.093207, 32656.000000]
76+
visc_cone.test_vals = [-5.215236, -5.739371, -20.556662, -20.517023, -20.436970, 1.262783, -3.205463, -0.015695, 0.093205, 32656.000000]
77+
visc_cone.test_vals_aarch64 = [-5.215236, -5.739371, -20.556662, -20.517023, -20.436970, 1.262783, -3.205463, -0.015695, 0.093205, 32656.000000]
7878
visc_cone.new_output = True
7979
test_list.append(visc_cone)
8080

0 commit comments

Comments
 (0)