:78 Function create_function() is deprecated [8192]

Forgot the dependency of diffuse on diffuse.c in thge Maefile

Ramses van Zon [2013-01-25 20:43:09]
Forgot the dependency of diffuse on diffuse.c in thge Maefile
Filename
Makefile
diffuse.cc
diff --git a/Makefile b/Makefile
index 7a1cc2a..b426fcd 100644
--- a/Makefile
+++ b/Makefile
@@ -1,2 +1,2 @@
-diffuse:
+diffuse: diffuse.cc
 	g++ -O3 -Wall -g diffuse.cc -o diffuse
diff --git a/diffuse.cc b/diffuse.cc
index 6fc91bc..d83a1a0 100644
--- a/diffuse.cc
+++ b/diffuse.cc
@@ -163,7 +163,7 @@ int main( int argc, char *argv[] )
                     error += pow( rho[theory][i][j]-rho[active][i][j] , 2 );
                 }
             }
-            error = sqrt(error);
+            //            error = sqrt(error);

             // Write out data for graphics
             theoryFile.write( (char*)(rho[theory][0]),
ViewGit