This parameter is always passed as `NULL`.
/*=============================== end of spring and spring-electrical based smoother =========== */
-void post_process_smoothing(int dim, SparseMatrix A, spring_electrical_control ctrl, double *node_weights, double *x, int *flag){
+void post_process_smoothing(int dim, SparseMatrix A, spring_electrical_control ctrl, double *x, int *flag){
#ifdef TIME
clock_t cpu;
#endif
for (k = 0; k < 1; k++){
sm = SpringSmoother_new(A, dim, ctrl, x);
- SpringSmoother_smooth(sm, A, node_weights, dim, x);
+ SpringSmoother_smooth(sm, A, NULL, dim, x);
SpringSmoother_delete(sm);
}
void SpringSmoother_smooth(SpringSmoother sm, SparseMatrix A, double *node_weights, int dim, double *x);
/*------------------------------------------------------------------*/
-void post_process_smoothing(int dim, SparseMatrix A, spring_electrical_control ctrl, double *node_weights, double *x, int *flag);
+void post_process_smoothing(int dim, SparseMatrix A, spring_electrical_control ctrl, double *x, int *flag);
/*-------------------- sparse stress majorizationp ------------------- */
typedef StressMajorizationSmoother SparseStressMajorizationSmoother;
cpu = clock();
#endif
- post_process_smoothing(dim, A, ctrl, NULL, x, flag);
+ post_process_smoothing(dim, A, ctrl, x, flag);
if (Verbose) fprintf(stderr, "ctrl->overlap=%d\n",ctrl->overlap);