Skip to content

Conversation

@jnsLs
Copy link
Collaborator

@jnsLs jnsLs commented Dec 4, 2025

No description provided.

@jnsLs jnsLs requested a review from Maltimore December 4, 2025 15:20
device = positions.device
dtype = positions.dtype

if cell_np.dtype == np.float32:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i wonder if one could do if not cell_np.dtype == np.float32: instead? to catch other dtypes. On the other hand, if the dtype is something like an integer or boolean, we probably just want an error here instead of casting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants