Skip to content

Commit

Permalink
fix: parsing of Vn data type pad field (type 0)
Browse files Browse the repository at this point in the history
Fixes #41.
  • Loading branch information
cmars committed Jul 22, 2023
1 parent 120e548 commit a9d4582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pystdf/IO.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def __init__(self, recTypes=V4.records, inp=sys.stdin, reopen_fn=None, endian=No
for recType in recTypes ])

self.vnMap = {
0: lambda header: self.inp.read(header, 1),
0: lambda header: self.inp.read(1),
1: lambda header: self.readField(header, "U1"),
2: lambda header: self.readField(header, "U2"),
3: lambda header: self.readField(header, "U4"),
Expand Down

0 comments on commit a9d4582

Please sign in to comment.