@@ -107,7 +107,7 @@ def mock_int_dtype(n: int, dtype: DataType) -> int:
107
107
# floats are used internally for optimisation or legacy reasons.
108
108
109
109
110
- def isclose (a : float , b : float , rel_tol : float = 0.25 , abs_tol : float = 1 ) -> bool :
110
+ def isclose (a : float , b : float , * , rel_tol : float = 0.25 , abs_tol : float = 1 ) -> bool :
111
111
"""Wraps math.isclose with very generous defaults.
112
112
113
113
This is useful for many floating-point operations where the spec does not
@@ -137,6 +137,7 @@ def unary_assert_against_refimpl(
137
137
in_ : Array ,
138
138
res : Array ,
139
139
refimpl : Callable [[T ], T ],
140
+ * ,
140
141
expr_template : Optional [str ] = None ,
141
142
res_stype : Optional [ScalarType ] = None ,
142
143
filter_ : Callable [[Scalar ], bool ] = default_filter ,
@@ -184,6 +185,7 @@ def binary_assert_against_refimpl(
184
185
right : Array ,
185
186
res : Array ,
186
187
refimpl : Callable [[T , T ], T ],
188
+ * ,
187
189
expr_template : Optional [str ] = None ,
188
190
res_stype : Optional [ScalarType ] = None ,
189
191
left_sym : str = "x1" ,
@@ -234,6 +236,7 @@ def right_scalar_assert_against_refimpl(
234
236
right : Scalar ,
235
237
res : Array ,
236
238
refimpl : Callable [[T , T ], T ],
239
+ * ,
237
240
expr_template : str = None ,
238
241
res_stype : Optional [ScalarType ] = None ,
239
242
left_sym : str = "x1" ,
@@ -486,6 +489,7 @@ def binary_param_assert_against_refimpl(
486
489
res : Array ,
487
490
op_sym : str ,
488
491
refimpl : Callable [[T , T ], T ],
492
+ * ,
489
493
res_stype : Optional [ScalarType ] = None ,
490
494
filter_ : Callable [[Scalar ], bool ] = default_filter ,
491
495
strict_check : Optional [bool ] = None ,
0 commit comments