bug-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-glpk] Small documentation correction, example 'spxsamp1.c'


From: Robbie Morrison
Subject: [Bug-glpk] Small documentation correction, example 'spxsamp1.c'
Date: Tue, 29 Dec 2009 09:24:58 +0300

Hello Andrew -- a small change -- best wishes, Robbie

regarding GLPK 4.41 API manual, page 54
example /* spxsamp1.c */

$ g++ --version
g++ (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)

$ g++ -Wall -fno-inline -pedantic -Wno-long-long -Weffc++ ..
file.cc:000: warning: converting to non-pointer type 'int' from NULL

hence statement :   glp_adv_basis(P, NULL);
should be       :   glp_adv_basis(P, 0);

---
Robbie Morrison
PhD student -- policy-oriented energy system simulation
Technical University of Berlin (TU-Berlin), Germany
University email (redirected) : address@hidden
Webmail (preferred)           : address@hidden
[from IMAP client]









reply via email to

[Prev in Thread] Current Thread [Next in Thread]