@@ -224,10 +224,10 @@ def register(
224224 # TODO: remove in future version
225225 if isinstance (params , np .ndarray ) and not self ._sorting_warning_already_shown :
226226 msg = (
227- "You're attempting to register an np.ndarray. Currently , the optimizer internally sorts "
228- " parameters by key and expects any registered array to respect this order. In future "
229- " versions this behaviour will change and the order as given by the pbounds dictionary"
230- " will be used. If you wish to retain sorted parameters, please manually sort your pbounds"
227+ "You're attempting to register an np.ndarray. In previous versions , the optimizer internally"
228+ " sorted parameters by key and expected any registered array to respect this order."
229+ " In the current and any future version the order as given by the pbounds dictionary will be "
230+ " used. If you wish to retain sorted parameters, please manually sort your pbounds"
231231 " dictionary before constructing the optimizer."
232232 )
233233 warn (msg , stacklevel = 1 )
@@ -252,10 +252,10 @@ def probe(self, params: ParamsType, lazy: bool = True) -> None:
252252 # TODO: remove in future version
253253 if isinstance (params , np .ndarray ) and not self ._sorting_warning_already_shown :
254254 msg = (
255- "You're attempting to register an np.ndarray. Currently , the optimizer internally sorts "
256- " parameters by key and expects any registered array to respect this order. In future "
257- " versions this behaviour will change and the order as given by the pbounds dictionary"
258- " will be used. If you wish to retain sorted parameters, please manually sort your pbounds"
255+ "You're attempting to register an np.ndarray. In previous versions , the optimizer internally"
256+ " sorted parameters by key and expected any registered array to respect this order."
257+ " In the current and any future version the order as given by the pbounds dictionary will be "
258+ " used. If you wish to retain sorted parameters, please manually sort your pbounds"
259259 " dictionary before constructing the optimizer."
260260 )
261261 warn (msg , stacklevel = 1 )
0 commit comments