Skip to content

Commit

Permalink
Fix comment text.
Browse files Browse the repository at this point in the history
  • Loading branch information
rousseab committed Mar 2, 2024
1 parent ee7bff9 commit 692e23b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crystal_diffusion/score/wrapped_gaussian_score.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ def get_sigma_normalized_score(
# The dimension of list_k is [2 kmax + 1].
list_k = torch.arange(-kmax, kmax + 1)

# Initialize a results array, and view it as a column.
# Since "column_view" is a view on "sigma_normalized_scores", sigma_normalized_scores is updatedo
# when we assign in column_view.
# Initialize a results array, and view it as a flat list.
# Since "flat_view" is a view on "sigma_normalized_scores", sigma_normalized_scores is updated
# when we assign values in flat_view (both tensors share the same underlying data structure).
sigma_normalized_scores = torch.zeros_like(relative_positions)
flat_view = sigma_normalized_scores.view(total_number_of_elements)

Expand Down

0 comments on commit 692e23b

Please sign in to comment.