numpy deprecated API warning

Bug #1162144 reported by Garth Wells
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DOLFIN
Fix Committed
Medium
Johan Hake

Bug Description

With numpy 1.70, I get the below deprecation warning when compiling the SWIG generated code.

packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning:
      "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"

Johan Hake (johan-hake)
Changed in dolfin:
importance: Undecided → Medium
assignee: nobody → Johan Hake (johan-hake)
milestone: none → trunk
status: New → In Progress
Johan Hake (johan-hake)
Changed in dolfin:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.