Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shwina committed Feb 6, 2025
1 parent 9e6562e commit e8bc8fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def __call__(
else:
self.d_out_cccl.state = d_out.state

if self.h_init_cccl.type.type == cccl.TypeEnum.STORAGE:
if self.h_init_cccl.type.type.value == cccl.TypeEnum.STORAGE:
self.h_init_cccl.state = h_init._data.__array_interface__["data"][0] # type: ignore
else:
self.h_init_cccl.state = h_init.__array_interface__["data"][0]
Expand Down

0 comments on commit e8bc8fc

Please sign in to comment.