Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1e263c2

Browse files
committed
Re-format THANKS.txt and add check for reshape order argument.
1 parent 405115b commit 1e263c2

2 files changed

Lines changed: 21 additions & 7 deletions

File tree

THANKS.txt

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,23 @@ Perry Greenfield, J Todd Miller, Rick White, Paul Barrett for Numarray
55
which gave much inspiration and showed the way forward.
66
Paul Dubois for Masked Arrays
77
Pearu Peterson for f2py and distutils and help with code organization
8-
Robert Kern for mtrand, bug fixes, help with distutils, and code organization
8+
Robert Kern for mtrand, bug fixes, help with distutils, code organization,
9+
and much more.
910
Eric Jones for sundry subroutines
1011
Fernando Perez for code snippets, ideas, bugfixes, and testing.
1112
Ed Schofield for matrix.py patches, bugfixes, testing, and docstrings.
1213
John Hunter for code snippets (from matplotlib)
1314
Chris Hanley for help with records.py, testing, and bug fixes.
14-
Travis Vaught and Joe Cooper for administration of numpy.org web site and SVN
15+
Travis Vaught, Joe Cooper, Jeff Strunk for administration of
16+
numpy.org web site and SVN
1517
Eric Firing for bugfixes.
1618
Arnd Baecker for 64-bit testing
17-
David Cooke for many code improvements including the auto-generated C-API, and optimizations.
18-
Alexander Belopolsky (Sasha) for Masked array bug-fixes and tests, rank-0 array improvements, scalar math help and other code additions
19-
Francesc Altet for unicode and nested record tests and help with nested records
20-
Tim Hochberg for getting the build working on MSVC, optimization improvements, and code review
21-
Charles Harris for the sorting code originally written for Numarray.
19+
David Cooke for many code improvements including the auto-generated C-API,
20+
and optimizations.
21+
Alexander Belopolsky (Sasha) for Masked array bug-fixes and tests,
22+
rank-0 array improvements, scalar math help and other code additions
23+
Francesc Altet for unicode and nested record tests
24+
and much help with rooting out nested record array bugs.
25+
Tim Hochberg for getting the build working on MSVC, optimization
26+
improvements, and code review
27+
Charles Harris for the sorting code originally written for Numarray and for improvements to polyfit, many bug fixes, and documentation strings.

numpy/core/tests/test_regression.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,14 @@ def check_dtype_repr(self, level=rlevel):
529529
dt1=N.dtype(('uint32', 2))
530530
dt2=N.dtype(('uint32', (2,)))
531531
assert_equal(dt1.__repr__(), dt2.__repr__())
532+
533+
def check_reshape_order(self, level=rlevel):
534+
"""Make sure reshape order works."""
535+
a = N.arange(6).reshape(2,3,order='F')
536+
assert_equal(a,[[0,2,4],[1,3,5]])
537+
a = N.array([[1,2],[3,4],[5,6],[7,8]])
538+
b = a[:,1]
539+
assert_equal(b.reshape(2,2,order='F'), [[2,6],[4,8]])
532540

533541
if __name__ == "__main__":
534542
NumpyTest().run()

0 commit comments

Comments
 (0)