Skip to content

Commit

Permalink
fix bug in some different python environment (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
luotao1 authored and reyoung committed Oct 18, 2016
1 parent 58f896c commit 6bef839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle/gserver/dataproviders/PyDataProvider2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ limitations under the License. */

#ifndef PADDLE_NO_PYTHON

#include <Python.h>
#include <stdio.h>
#include <stdlib.h>
#include <unordered_set>
#include <list>
#include <Python.h>
#include <numpy/numpyconfig.h>
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
#include <numpy/ndarrayobject.h>
Expand Down

0 comments on commit 6bef839

Please sign in to comment.