Skip to content

Commit

Permalink
Use args when calling self.aev_computer (#118)
Browse files Browse the repository at this point in the history
* Use args when calling self.aev_computer. [ref aiqm/torchani#649]

* Trivial change to try to get CI to run

---------

Co-authored-by: Peter Eastman <[email protected]>
  • Loading branch information
lohedges and peastman authored Jul 10, 2024
1 parent d15cb91 commit 05d30d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pytorch/OptimizedTorchANI.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ def forward(self, species_coordinates: Tuple[Tensor, Tensor],
pbc: Optional[Tensor] = None) -> SpeciesEnergies:

species_coordinates = self.species_converter(species_coordinates)
species_aevs = self.aev_computer(species_coordinates, cell=cell, pbc=pbc)
species_aevs = self.aev_computer(species_coordinates, cell, pbc)
species_energies = self.neural_networks(species_aevs)
species_energies = self.energy_shifter(species_energies)

return species_energies
return species_energies

0 comments on commit 05d30d4

Please sign in to comment.