Skip to content

Commit fc58af1

Browse files
committed
Merge branch 'staging'
2 parents f8ed43c + a133ed2 commit fc58af1

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

eoxmagmod/MANIFEST.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
include MANIFEST.in
22
recursive-exclude eoxmagmod *.pyc *.o
33
recursive-include eoxmagmod *.c *.h
4-
graft eoxmagmod/data
5-
graft eoxmagmod/tests/data
6-
graft eoxmagmod/magnetic_model/tests/data
4+
recursive-include eoxmagmod/data *.txt *.shc *.cof *.COF
5+
recursive-include eoxmagmod/tests/data *.txt *.tsv
6+
recursive-include eoxmagmod/magnetic_models/tests/data *.txt *.cdf

eoxmagmod/eoxmagmod/pymm_aux.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,6 @@ static PyArrayObject* _get_as_double_array(PyObject *data, int dmin, int dmax,
129129
int reqs, const char *label)
130130
{
131131
return _get_as_array(data, NPY_FLOAT64, dmin, dmax, reqs, label);
132-
PyArray_Descr *dtype = PyArray_DescrFromType(NPY_FLOAT64);
133-
return (PyArrayObject*) PyArray_FromAny(data, dtype, dmin, dmax, reqs, NULL);
134132
}
135133

136134

0 commit comments

Comments
 (0)