Skip to content

Commit

Permalink
Fix log partition function name (#96)
Browse files Browse the repository at this point in the history
Co-authored-by: John Reid <john.reid@blueprism.com>
  • Loading branch information
JohnReid and John Reid committed Feb 12, 2021
1 parent e3b04e3 commit c875d93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torch_struct/alignment.py
Expand Up @@ -45,7 +45,7 @@ def _check_potentials(self, edge, lengths=None):
assert max(lengths) == N, "One length must be at least N"
return edge, batch, N, M, lengths

def logparition(self, log_potentials, lengths=None, force_grad=False, cache=True):
def logpartition(self, log_potentials, lengths=None, force_grad=False, cache=True):
return self._dp_scan(log_potentials, lengths, force_grad)

def _dp_scan(self, log_potentials, lengths=None, force_grad=False):
Expand Down

0 comments on commit c875d93

Please sign in to comment.