Skip to content

Commit

Permalink
Fix quickstart example
Browse files Browse the repository at this point in the history
  • Loading branch information
EtienneCmb committed Oct 29, 2024
1 parent a85e4e2 commit d2c98bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hoi/utils/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,8 @@ def get_nbest_mult(
import pandas as pd

hoi = np.asarray(hoi).squeeze()
if not hoi.ndim:
hoi = hoi.reshape(-1)

# get order and multiplets
if model:
Expand Down

0 comments on commit d2c98bb

Please sign in to comment.