**********************************************************/
#include <neatogen/digcola.h>
+#include <stdbool.h>
#ifdef IPSEPCOLA
#include <math.h>
#include <stdlib.h>
* dummy vars included in lap
*/
int n = e->nv + e->nldv;
- boolean converged = FALSE;
+ bool converged = false;
#ifdef CONMAJ_LOGGING
static int call_no = 0;
#endif /* CONMAJ_LOGGING */
float alpha, beta;
float numerator = 0, denominator = 0, r;
/* fprintf(stderr,"."); */
- converged = TRUE;
+ converged = true;
/* find steepest descent direction */
for (i = 0; i < n; i++) {
old_place[i] = place[i];
prev_stress = stress;
#endif
if (test > quad_prog_tol) {
- converged = FALSE;
+ converged = false;
}
}
#ifdef CONMAJ_LOGGING