#include <stdlib.h>
#include <cgraph/exit.h>
+#include <cgraph/unused.h>
#include <common/types.h>
#include <common/memory.h>
#include <common/globals.h>
*rhs = x00;
}
-double get_stress(int m, int dim, int *iw, int *jw, double *w, double *d, double *x, double scaling){
+static UNUSED double get_stress(int m, int dim, int *iw, int *jw, double *w,
+ double *d, double *x, double scaling) {
int i, j;
double res = 0., dist;
/* we use the fact that d_ij = w_ij*graph_dist(i,j). Also, d_ij and x are scalinged by *scaling, so divide by it to get actual unscaled streee. */
double SparseStressMajorizationSmoother_smooth(SparseStressMajorizationSmoother sm, int dim, double *x, int maxit_sm, double tol);
-double get_stress(int m, int dim, int *iw, int *jw, double *w, double *d, double *x, double scaling);
-
/*--------------------------------------------------------------*/