Skip to content

Commit

Permalink
all tests passing
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry Isaacson committed Jul 26, 2024
1 parent bc737ed commit 238f0c3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ requires = [
[project]
authors = [{ email = "[email protected]", name = "Allen Goodman" }]
dependencies = [
"optree",
"optree==0.11.0",
"pooch",
"torch==2.2.2",
"tqdm",
Expand Down
2 changes: 1 addition & 1 deletion src/beignet/func/_interact.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ def mapped_fn(
positions.shape[0],
),
normalization,
)
).to(dtype=positions.dtype)

return mapped_fn

Expand Down
4 changes: 2 additions & 2 deletions tests/beignet/func/test_pair_interactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

PARTICLE_COUNT = 16
NEIGHBOR_LIST_PARTICLE_COUNT = 16
POSITION_DTYPE = [torch.float32] # Example values
SPATIAL_DIMENSION = [3]
POSITION_DTYPE = [torch.float32, torch.float64] # Example values
SPATIAL_DIMENSION = [2, 3]
NEIGHBOR_LIST_FORMAT = [
_NeighborListFormat.DENSE,
_NeighborListFormat.ORDERED_SPARSE,
Expand Down

0 comments on commit 238f0c3

Please sign in to comment.