Skip to content

Commit

Permalink
Update name to elementwise_loss
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Jan 16, 2023
1 parent 6b34f10 commit f39bca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysr/sr.py
Original file line number Diff line number Diff line change
Expand Up @@ -1573,7 +1573,7 @@ def _run(self, X, y, mutated_params, weights, seed):
complexity_of_constants=self.complexity_of_constants,
complexity_of_variables=self.complexity_of_variables,
nested_constraints=nested_constraints,
loss=custom_loss,
elementwise_loss=custom_loss,
maxsize=int(self.maxsize),
output_file=_escape_filename(self.equation_file_),
npopulations=int(self.populations),
Expand Down

0 comments on commit f39bca3

Please sign in to comment.