Commit c9163230 authored by Julien Lin's avatar Julien Lin
Browse files

fix las issue

parent 747feb78
......@@ -61,10 +61,9 @@ def main(eaf_args=None):
fig = plt.figure()
ax3 = fig.add_subplot(121)
plt.title(f"{the.solver}, threshold {the.quality_threshold}")
for i in range(1, buff.shape[0]):
ax3.step(t, buff[i])
plt.step(t, buff[i])
# ax4 = fig.add_subplot(122, projection="3d")
# plt.title(f"{the.solver}, thresholds : {the.quality_threshold}")
......
......@@ -384,7 +384,7 @@ def get_constant_objectiv_func(the):
def get_coef_objective_func(the):
return the.nb_selected * the.nb_offspring if the.solver == "num_evolutionary" else 1
return the.nb_offspring if the.solver == "num_evolutionary" else 1
if __name__ == "__main__":
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment