Skip to content

Commit 5a6ab45

Browse files
committed
fix upstream
1 parent 20078fb commit 5a6ab45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

econpizza/parser/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def _load_external_functions_file(model, context):
136136
module = _load_as_module(model["functions_file"])
137137

138138
def func_or_compiled(func): return isinstance(
139-
func, jaxlib.xla_extension.PjitFunction) or isfunction(func)
139+
func, jaxlib._jax.PjitFunction) or isfunction(func)
140140
for m in getmembers(module, func_or_compiled):
141141
context[m[0]] = m[1]
142142

0 commit comments

Comments
 (0)