Skip to content

Commit

Permalink
Use julia_state_ instead
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer authored Feb 10, 2024
1 parent 20646f9 commit 9f65133
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pysr/sr.py
Original file line number Diff line number Diff line change
Expand Up @@ -1121,14 +1121,14 @@ def equations(self): # pragma: no cover
return self.equations_

@property
def julia_state(self):
def julia_state_(self):
return jl_deserialize_s(self.raw_julia_state_stream_)

@property
def raw_julia_state_(self):
warnings.warn(
"PySRRegressor.raw_julia_state_ is now deprecated. "
"Please use PySRRegressor.julia_state instead, or `raw_julia_state_stream_` "
"Please use PySRRegressor.julia_state_ instead, or raw_julia_state_stream_ "
"for the raw stream of bytes.",
FutureWarning,
)
Expand Down

0 comments on commit 9f65133

Please sign in to comment.