Skip to content

Commit

Permalink
Prevent broad namespace mixing
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Mar 23, 2024
1 parent f932bcc commit 6f2439d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysr/julia_extensions.py
Expand Up @@ -32,5 +32,5 @@ def load_package(package_name: str, uuid_s: str) -> None:

# TODO: Protect against loading the same symbol from two packages,
# maybe with a @gensym here.
jl.seval(f"using {package_name}")
jl.seval(f"using {package_name}: {package_name}")
return None

0 comments on commit 6f2439d

Please sign in to comment.