Skip to content

Commit

Permalink
Change string length back to 15
Browse files Browse the repository at this point in the history
  • Loading branch information
dzalkind committed Jan 7, 2025
1 parent 0c416dd commit 4a0e986
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rosco/controller/rosco_registry/write_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def write_roscoio(yfile):
file.write(' CHARACTER(100) :: avrFmt\n')
file.write('\n')
file.write(' REAL(DbKi), ALLOCATABLE :: DebugOutData(:)\n \n')
file.write(f' CHARACTER(30), DIMENSION({n_lv_outputs}) :: LocalVarOutStrings\n')
file.write(f' CHARACTER(15), DIMENSION({n_lv_outputs}) :: LocalVarOutStrings\n')
file.write(' REAL(DbKi), ALLOCATABLE :: LocalVarOutData(:)\n \n')
file.write(' nDebugOuts = {}\n'.format(len(reg['DebugVariables'].keys())))
file.write(' Allocate(DebugOutData(nDebugOuts))\n')
Expand Down
2 changes: 1 addition & 1 deletion rosco/controller/src/ROSCO_IO.f90
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ SUBROUTINE Debug(LocalVar, CntrPar, DebugVar, ErrVar, avrSWAP, RootName, size_av

REAL(DbKi), ALLOCATABLE :: DebugOutData(:)

CHARACTER(30), DIMENSION(146) :: LocalVarOutStrings
CHARACTER(15), DIMENSION(146) :: LocalVarOutStrings
REAL(DbKi), ALLOCATABLE :: LocalVarOutData(:)

nDebugOuts = 26
Expand Down

0 comments on commit 4a0e986

Please sign in to comment.