Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
giovp committed Feb 19, 2024
1 parent 751c219 commit 25823ec
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/moscot/base/problems/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,3 @@ def _get_n_cores(n_cores: Optional[int], n_jobs: Optional[int]) -> int:
return multiprocessing.cpu_count() + 1 + n_cores

return n_cores


def _compute_conditional_entropy(p_xy: ArrayLike, c: float = 0.0) -> ArrayLike:
return -np.sum(p_xy * np.log(p_xy / p_xy.sum(axis=0)), axis=0)

0 comments on commit 25823ec

Please sign in to comment.