Skip to content

Commit

Permalink
fixed bug in _parse_scalar
Browse files Browse the repository at this point in the history
  • Loading branch information
Shibu778 authored Apr 17, 2024
1 parent 6ba64f2 commit 3ae187a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/py4vasp/_raw/data_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,5 @@ def astype(self, *args, **kwargs):

def _parse_scalar(data):
if data.dtype.type == np.bytes_:
data = data[()].decode()
data = data.decode()
return np.array(data)

0 comments on commit 3ae187a

Please sign in to comment.