Skip to content

Commit 1653ac6

Browse files
committed
proposed fix for transpose in get_default_dtype
1 parent a7d1639 commit 1653ac6

File tree

5 files changed

+9
-12
lines changed

5 files changed

+9
-12
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
<img src="https://raw.githubusercontent.com/modflowpy/flopy/master/examples/images/flopy3.png" alt="flopy3" style="width:50;height:20">
33

4-
### Version 3.2.8 develop &mdash; build 66
4+
### Version 3.2.8 develop &mdash; build 73
55
[![Build Status](https://travis-ci.org/modflowpy/flopy.svg?branch=develop)](https://travis-ci.org/modflowpy/flopy)
66
[![PyPI Version](https://img.shields.io/pypi/v/flopy.png)](https://pypi.python.org/pypi/flopy)
77
[![Coverage Status](https://coveralls.io/repos/github/modflowpy/flopy/badge.svg?branch=develop)](https://coveralls.io/github/modflowpy/flopy?branch=develop)
@@ -34,7 +34,7 @@ How to Cite
3434

3535
##### ***Software/Code citation for FloPy:***
3636

37-
[Bakker, M., Post, V., Langevin, C.D., Hughes, J.D., White, J.T., Starn, J.J., and Fienen, M.N., 2018, FloPy v3.2.8 &mdash; develop: U.S. Geological Survey Software Release, 13 February 2018, http://dx.doi.org/10.5066/F7BK19FH](http://dx.doi.org/10.5066/F7BK19FH)
37+
[Bakker, M., Post, V., Langevin, C.D., Hughes, J.D., White, J.T., Starn, J.J., and Fienen, M.N., 2018, FloPy v3.2.8 &mdash; develop: U.S. Geological Survey Software Release, 14 February 2018, http://dx.doi.org/10.5066/F7BK19FH](http://dx.doi.org/10.5066/F7BK19FH)
3838

3939

4040
Examples

docs/PyPi_release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ How to Cite
2525

2626
*Software/Code citation for FloPy:*
2727

28-
[Bakker, M., Post, V., Langevin, C.D., Hughes, J.D., White, J.T., Starn, J.J., and Fienen, M.N., 2018, FloPy v3.2.8 &mdash; develop: U.S. Geological Survey Software Release, 13 February 2018, http://dx.doi.org/10.5066/F7BK19FH](http://dx.doi.org/10.5066/F7BK19FH)
28+
[Bakker, M., Post, V., Langevin, C.D., Hughes, J.D., White, J.T., Starn, J.J., and Fienen, M.N., 2018, FloPy v3.2.8 &mdash; develop: U.S. Geological Survey Software Release, 14 February 2018, http://dx.doi.org/10.5066/F7BK19FH](http://dx.doi.org/10.5066/F7BK19FH)
2929

3030

3131
Installation

docs/USGS_release.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ header-includes:
1919
- \fancyhead[CE, CO]{FloPy Release Notes}
2020
- \fancyfoot[LE, RO]{FloPy version 3.2.8 &mdash; develop}
2121
- \fancyfoot[CO, CE]{\thepage\ of \pageref{LastPage}}
22-
- \fancyfoot[RE, LO]{02/13/2018}
22+
- \fancyfoot[RE, LO]{02/14/2018}
2323
geometry: margin=0.75in
2424
---
2525

@@ -50,7 +50,7 @@ How to Cite
5050

5151
##### ***Software/Code citation for FloPy:***
5252

53-
[Bakker, M., Post, V., Langevin, C.D., Hughes, J.D., White, J.T., Starn, J.J., and Fienen, M.N., 2018, FloPy v3.2.8 &mdash; develop: U.S. Geological Survey Software Release, 13 February 2018, http://dx.doi.org/10.5066/F7BK19FH](http://dx.doi.org/10.5066/F7BK19FH)
53+
[Bakker, M., Post, V., Langevin, C.D., Hughes, J.D., White, J.T., Starn, J.J., and Fienen, M.N., 2018, FloPy v3.2.8 &mdash; develop: U.S. Geological Survey Software Release, 14 February 2018, http://dx.doi.org/10.5066/F7BK19FH](http://dx.doi.org/10.5066/F7BK19FH)
5454

5555

5656
Installation

flopy/modflow/mfwel.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -247,10 +247,7 @@ def get_empty(ncells=0, aux_names=None, structured=True):
247247
dtype = ModflowWel.get_default_dtype(structured=structured)
248248
if aux_names is not None:
249249
dtype = Package.add_to_dtype(dtype, aux_names, np.float32)
250-
d = np.zeros((ncells, len(dtype)))
251-
252-
d[:, :] = -1.0E+10
253-
return np.core.records.fromarrays(d.transpose(), dtype=dtype)
250+
return np.zeros(ncells, dtype=dtype)
254251

255252
@staticmethod
256253
def load(f, model, nper=None, ext_unit_dict=None, check=True):

flopy/version.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# flopy version file automatically created using...pre-commit.py
2-
# created on...February 13, 2018 09:55:28
2+
# created on...February 14, 2018 16:48:02
33

44
major = 3
55
minor = 2
66
micro = 8
7-
build = 66
8-
commit = 2585
7+
build = 73
8+
commit = 2592
99

1010
__version__ = '{:d}.{:d}.{:d}'.format(major, minor, micro)
1111
__build__ = '{:d}.{:d}.{:d}.{:d}'.format(major, minor, micro, build)

0 commit comments

Comments
 (0)