My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 15: Fix for compiler error for pyipopt.c
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Mar 2011


 
Project Member Reported by herbschi...@gmail.com, Dec 29, 2010
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
merged to the main branch, thank you!
Status: Fixed

Powered by Google Project Hosting