Skip to content

Commit 2ea9edb

Browse files
committed
Merge branch 'bugfix.writebuf.testcase' into 'master'
Bugfix for Buffer in Testcases See merge request flexi/flexi!694
2 parents a42feda + d4dbaff commit 2ea9edb

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/testcase/channel/testcase.f90

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,9 @@ SUBROUTINE FinalizeTestcase()
340340
USE MOD_Globals
341341
IMPLICIT NONE
342342
!==================================================================================================================================
343-
IF(MPIRoot) SDEALLOCATE(writeBuf)
343+
IF(MPIRoot) THEN
344+
SDEALLOCATE(writeBuf)
345+
END IF
344346
END SUBROUTINE
345347

346348

src/testcase/phill/testcase.f90

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,9 @@ SUBROUTINE FinalizeTestcase()
375375
USE MOD_TestCase_Vars,ONLY:writeBuf
376376
IMPLICIT NONE
377377
!==================================================================================================================================
378-
IF(MPIRoot) SDEALLOCATE(writeBuf)
378+
IF(MPIRoot) THEN
379+
SDEALLOCATE(writeBuf)
380+
END IF
379381
END SUBROUTINE
380382

381383

0 commit comments

Comments
 (0)