Skip to content

Commit

Permalink
FastC: minor update of pyTree
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit128 committed Jul 11, 2024
1 parent d6070ab commit 182cb73
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Fast/FastC/FastC/PyTree.py
Original file line number Diff line number Diff line change
Expand Up @@ -1695,7 +1695,7 @@ def _buildOwnData(t, Padding):
size_int = number_of_defines_param_int +1 # number of defines + 1


datap = numpy.zeros(size_int, Internal.E_NpyInt)
datap = numpy.empty(size_int, Internal.E_NpyInt)
datap[:] = -1000
datap[0:25]= -1

Expand Down Expand Up @@ -1795,8 +1795,8 @@ def _buildOwnData(t, Padding):
datap[66] = shiftvar
datap[67] = extract_res
datap[68] = DES_debug #index 69 et 70 pour PT_BC et PT_OMP
datap[69] = 0 # setting to zero for non-regression [non-regression redundancy]
datap[70] = 0 # setting to zero for non-regression [non-regression redundancy]
datap[69] = 0
datap[70] = 0
datap[71] = nbr_relax
datap[72] = nbr_restart
datap[73] = nbr_krylov
Expand Down

0 comments on commit 182cb73

Please sign in to comment.