File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 2
2
benchmarking, there are 5 clusters of performance around these kernels:
3
3
``PRESCOTT NEHALEM SANDYBRIDGE HASWELL SKYLAKEX ``.
4
4
5
- * OpenBLAS on windows is linked without quadmath, simplfying licensing
5
+ * OpenBLAS on windows is linked without quadmath, simplifying licensing
6
6
7
7
* Due to a regression in OpenBLAS on windows, the performance improvements
8
8
when using multiple threads for OpenBLAS 0.3.26 were reverted.
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ would give.
172
172
173
173
Behavior of ``sum `` and ``prod ``
174
174
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
175
- **``np.sum`` and ``np.prod``: ** Will alway return the default integer type
175
+ **``np.sum`` and ``np.prod``: ** Will always return the default integer type
176
176
when summing over integer values (or booleans). This is usually an ``int64 ``.
177
177
The reason for this is that integer summations are otherwise very likely
178
178
to overflow and give confusing results.
@@ -214,7 +214,7 @@ The following rules apply:
214
214
non-ascii characters.
215
215
* For some purposes NumPy will promote almost any other datatype to strings.
216
216
This applies to array creation or concatenation.
217
- * The array constructers like ``np.array() `` will use ``object `` dtype when
217
+ * The array constructors like ``np.array() `` will use ``object `` dtype when
218
218
there is no viable promotion.
219
219
* Structured dtypes can promote when their field names and order matches.
220
220
In that case all fields are promoted individually.
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ array_dlpack_deleter_unversioned(DLManagedTensor *self)
57
57
58
58
59
59
/*
60
- * Deleter for a DLPack capsule wrapping a DLManagedTensor(Versioed ).
60
+ * Deleter for a DLPack capsule wrapping a DLManagedTensor(Versioned ).
61
61
*
62
62
* This is exactly as mandated by dlpack
63
63
*/
Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ find_binary_operation_path(
253
253
*
254
254
* However, NumPy (historically) made this often work magically because
255
255
* ufuncs for object dtype end up casting to object with `.item()`. This in
256
- * turn ofthen returns a Python type (e.g. float for float32, float64)!
256
+ * turn often returns a Python type (e.g. float for float32, float64)!
257
257
* Retrying then succeeds. So if (and only if) `self.item()` returns a new
258
258
* type, we can safely attempt the operation (again) with that.
259
259
*/
Original file line number Diff line number Diff line change @@ -763,7 +763,7 @@ def __getitem__(self):
763
763
np .array (BadSequence ())
764
764
765
765
def test_array_interface_descr_optional (self ):
766
- # The descr should be optional regresion test for gh-27249
766
+ # The descr should be optional regression test for gh-27249
767
767
arr = np .ones (10 , dtype = "V10" )
768
768
iface = arr .__array_interface__
769
769
iface .pop ("descr" )
You can’t perform that action at this time.
0 commit comments