| Issue 15: | Fix for compiler error for pyipopt.c | |
| 1 person starred this issue and may be notified of changes. | Back to list |
The code even makes a comment that there will be a compiler error due to this code
int* dim = ((PyArrayObject*)x0)->dimensions;
It just needs to be changed to this to clean that up
npy_intp* dim = ((PyArrayObject*)x0)->dimensions;
This also requires redefining dX to be a npy_intp array, not an int array.
Mar 10, 2011
Project Member
#1
xu.mathena
Status:
Fixed
|