Commit e1a42eb
committed
Fix evaluation count in PyATF search strategies
The search strategies from PyATF are not guaranteed to always give a unique point. It is possible that
`get_next_coordinates` actually returns the same configurations multiple times. However, these should
not count towards the evaluation limit (`max_feval`).
This commit makes it so that only unique configuration evaluations are counted towards the limit.1 parent f9b223b commit e1a42eb
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | 85 | | |
87 | 86 | | |
88 | 87 | | |
89 | | - | |
| 88 | + | |
90 | 89 | | |
91 | 90 | | |
92 | 91 | | |
| |||
110 | 109 | | |
111 | 110 | | |
112 | 111 | | |
113 | | - | |
114 | 112 | | |
115 | 113 | | |
116 | 114 | | |
| |||
0 commit comments