Skip to content

Commit 54a695f

Browse files
committed
Fixup typing when converting from
1 parent 8aab36e commit 54a695f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmdstanpy/utils/stancsv.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def csv_bytes_list_to_numpy(
5454
import polars as pl
5555

5656
try:
57-
out = (
57+
out: npt.NDArray[np.float64] = (
5858
pl.read_csv(
5959
io.BytesIO(b"".join(csv_bytes_list)),
6060
has_header=includes_header,
@@ -81,7 +81,7 @@ def csv_bytes_list_to_numpy(
8181
if len(out.shape) == 1:
8282
out = out.reshape(1, -1)
8383

84-
return out # type: ignore
84+
return out
8585

8686

8787
def parse_hmc_adaptation_lines(

0 commit comments

Comments
 (0)