Skip to content

Commit

Permalink
lets just make this simple for now.......
Browse files Browse the repository at this point in the history
  • Loading branch information
jlnav committed Apr 19, 2024
1 parent c23476f commit 9353e00
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libensemble/tests/unit_tests/test_asktell_surmise.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@ def test_asktell_surmise():
samples_iter = range(len(sample))

for i in samples_iter:
result = surmise.create_results_array(1)
result = np.zeros(1, dtype=gen_specs["out"] + [("f", float)])
for field in gen_specs["out"]:
result[field[0]] = sample[i][field[0]]
H_out, _a, _b = borehole(sample[i], {}, sim_specs, {"H_rows": np.array([sample[i]["sim_id"]])})
result["f"] = H_out["f"][0]
total_evals += 1
Expand Down

0 comments on commit 9353e00

Please sign in to comment.