From: arif Date: Mon, 7 Mar 2011 17:16:53 +0000 (+0000) Subject: new files are added to project file X-Git-Tag: LAST_LIBGRAPH~32^2~949 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d7e7659548d16eaabbdd70d6e8ee8dce62da1255;p=graphviz new files are added to project file --- diff --git a/lib/sfdpgen/sfdp.vcproj b/lib/sfdpgen/sfdp.vcproj index b5d89bfab..6f3da56a4 100644 --- a/lib/sfdpgen/sfdp.vcproj +++ b/lib/sfdpgen/sfdp.vcproj @@ -196,6 +196,14 @@ RelativePath=".\spring_electrical.c" > + + + + diff --git a/lib/sfdpgen/stress_model.c b/lib/sfdpgen/stress_model.c index f3bec14b3..e68278a97 100644 --- a/lib/sfdpgen/stress_model.c +++ b/lib/sfdpgen/stress_model.c @@ -5,6 +5,7 @@ #include "stress_model.h" void stress_model(int dim, SparseMatrix B, real **x, int maxit_sm, real tol, int *flag){ + int m; SparseStressMajorizationSmoother sm; real lambda = 0; /*int maxit_sm = 1000, i; tol = 0.001*/ @@ -22,7 +23,7 @@ void stress_model(int dim, SparseMatrix B, real **x, int maxit_sm, real tol, int A = SparseMatrix_remove_diagonal(A); *flag = 0; - int m = A->m; + m = A->m; if (!x) { *x = MALLOC(sizeof(real)*m*dim); srand(123);