Skip to content

Commit

Permalink
PyPi push v0.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Neeratyoy committed Feb 19, 2023
1 parent adc2592 commit d94250e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dehb/optimizers/de.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ def run(self, generations=1, verbose=False, budget=None, reset=True, **kwargs):
if verbose:
print("\nRun complete!")

return np.array(self.traj), np.array(self.runtime), np.array(self.history)
return np.array(self.traj), np.array(self.runtime), np.array(self.history, dtype=object)


class AsyncDE(DE):
Expand Down Expand Up @@ -807,4 +807,4 @@ def run(self, generations=1, verbose=False, budget=None, reset=True, **kwargs):
if verbose:
print("\nRun complete!")

return np.array(self.traj), np.array(self.runtime), np.array(self.history)
return np.array(self.traj), np.array(self.runtime), np.array(self.history, dtype=object)
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"Source Code": "https://github.com/automl.org/dehb",
}
copyright = f"Copyright {datetime.date.today().strftime('%Y')}, Neeratyoy, Noor, Frank"
version = "0.0.4"
version = "0.0.5"

HERE = os.path.dirname(os.path.realpath(__file__))

Expand Down

0 comments on commit d94250e

Please sign in to comment.