Skip to content

Commit

Permalink
Change NINF
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 555650113
Change-Id: I36cf70cbfd560edd6173ad07d0688e55a9ad3539
  • Loading branch information
Stannis Zhou authored and StannisZhou committed Aug 10, 2023
1 parent 655e123 commit d880f68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pgmax/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
# What value to use as a "base" value for, e.g., log potentials of specific
# configs. If NEG_INF is too close to MSG_NEG_INF, it'll blow up as unlikely
# configs become extremely likely.
NEG_INF = jnp.NINF
NEG_INF = -jnp.inf


def cached_property(func: Callable[..., Any]) -> property:
Expand Down

0 comments on commit d880f68

Please sign in to comment.