We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9ab4e3 commit f6707a4Copy full SHA for f6707a4
physbo/search/discrete/results.py
@@ -183,8 +183,8 @@ def load(self, filename):
183
184
"""
185
data = np.load(filename)
186
- M = data["num_runs"]
187
- N = data["total_num_search"]
+ M = int(data["num_runs"])
+ N = int(data["total_num_search"])
188
self.num_runs = M
189
self.total_num_search = N
190
self.fx[0:N] = data["fx"]
physbo/search/discrete_multi/results.py
@@ -118,8 +118,8 @@ def load(self, filename):
118
with open(filename, "rb") as f:
119
data = pickle.load(f)
120
121
122
123
124
125
0 commit comments