Skip to content

Commit

Permalink
fix: registry
Browse files Browse the repository at this point in the history
  • Loading branch information
arnupretorius committed Sep 4, 2023
1 parent 8931984 commit d56588d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions matrax/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import jax.numpy as jnp
from jumanji.registration import make, register
from jumanji.version import __version__

Expand All @@ -34,7 +33,7 @@
)
register(
id=f"Penalty-{penalty_value}-stateful-v0",
entry_point="matrixgames.games:MatrixGame",
entry_point="matrax:MatrixGame",
kwargs={
"payoff_matrix": payoff_matrix,
"keep_state": True,
Expand All @@ -53,7 +52,7 @@
)
register(
id="Climbing-stateful-v0",
entry_point="matrixgames.games:MatrixGame",
entry_point="matrax:MatrixGame",
kwargs={
"payoff_matrix": climbing_game,
"keep_state": True,
Expand All @@ -73,7 +72,7 @@
)
register(
id=f"NoConflict-{_id}-stateful-v0",
entry_point="matrixgames.games:MatrixGame",
entry_point="matrax:MatrixGame",
kwargs={
"payoff_matrix": payoff_matrix,
"keep_state": True,
Expand All @@ -93,7 +92,7 @@
)
register(
f"Conflict-{_id}-stateful-v0",
entry_point="matrixgames.games:MatrixGame",
entry_point="matrix:MatrixGame",
kwargs={
"payoff_matrix": payoff_matrix,
"keep_state": True,
Expand Down

0 comments on commit d56588d

Please sign in to comment.