Skip to content

Commit

Permalink
remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
gbeckers committed Sep 20, 2023
1 parent c741f91 commit 33a7422
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions darr/readcodearray.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,11 @@ def readcodematlab_complex(numtype, shape, endianness,
ct += "fclose(fileid);\n"
return ct + f"{varname} = complex(re, im);\n"

def readcodematlab_float16(shape, endianness,
filepath='arrayvalues.bin',
varname='a'):
ct = f"fileid = fopen('{filepath}');\n"
## Don't think we use next anymore
# def readcodematlab_float16(shape, endianness,
# filepath='arrayvalues.bin',
# varname='a'):
# ct = f"fileid = fopen('{filepath}');\n"


# R does not support int64 but will read it OK for values that are valid for
Expand Down

0 comments on commit 33a7422

Please sign in to comment.