@@ -804,7 +804,7 @@ the inner-loop operates on.
804
804
This is necessary information for parametric dtypes since for example comparing
805
805
two strings requires knowing the length of both strings.
806
806
The ``Context `` can also hold potentially useful information such as the
807
- the original ``ufunc ``, which can be helpful when reporting errors.
807
+ original ``ufunc ``, which can be helpful when reporting errors.
808
808
809
809
In principle passing in Context is not necessary, as all information could be
810
810
included in ``innerloop_data `` and set up in the ``get_loop `` function.
@@ -948,7 +948,7 @@ This wrapped ``ArrayMethod`` will have two additional methods:
948
948
convert this to ``float64 + float64 ``.
949
949
950
950
* ``wrap_outputs(Tuple[DType]: input_descr) -> Tuple[DType] `` replacing the
951
- resolved descriptors with with the desired actual loop descriptors.
951
+ resolved descriptors with the desired actual loop descriptors.
952
952
The original ``resolve_descriptors `` function will be called between these
953
953
two calls, so that the output descriptors may not be set in the first call.
954
954
In the above example it will use the ``float64 `` as returned (which might
@@ -987,8 +987,8 @@ A different use-case is that of a ``Unit(float64, "m")`` DType, where
987
987
the numerical type is part of the DType parameter.
988
988
This approach is possible, but will require a custom ``ArrayMethod ``
989
989
which wraps existing loops.
990
- It must also always require require two steps of dispatching
991
- (one to the `` Unit `` DType and a second one for the numerical type).
990
+ It must also always require two steps of dispatching (one to the `` Unit ``
991
+ DType and a second one for the numerical type).
992
992
993
993
Furthermore, the efficient implementation will require the ability to
994
994
fetch and reuse the inner-loop function from another ``ArrayMethod ``.
@@ -1296,7 +1296,7 @@ of the current ufunc machinery (as well as casting).
1296
1296
1297
1297
The implementation unfortunately will require large maintenance of the
1298
1298
UFunc machinery, since both the actual UFunc loop calls, as well as the
1299
- the initial dispatching steps have to be modified.
1299
+ initial dispatching steps have to be modified.
1300
1300
1301
1301
In general, the correct ``ArrayMethod ``, also those returned by a promoter,
1302
1302
will be cached (or stored) inside a hashtable for efficient lookup.
0 commit comments