Skip to content

Commit

Permalink
Fix seq_hdr type in test
Browse files Browse the repository at this point in the history
  • Loading branch information
eivindjahren committed Apr 24, 2024
1 parent a8fdcf3 commit 068ba09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tests/rd_tests/test_geertsma.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def create_init(grid, case):

def create_restart(grid, case, p1, p2=None, rporv1=None, rporv2=None):
with openFortIO("%s.UNRST" % case, mode=FortIO.WRITE_MODE) as f:
seq_hdr = ResdataKW("SEQNUM", 1, ResDataType.RD_FLOAT)
seq_hdr = ResdataKW("SEQNUM", 1, ResDataType.RD_INT)
seq_hdr[0] = 10
p = ResdataKW("PRESSURE", grid.getNumActive(), ResDataType.RD_FLOAT)
for i in range(len(p1)):
Expand Down

0 comments on commit 068ba09

Please sign in to comment.