[Swift-commit] r5571 - SwiftApps/SciColSim

jonmon at ci.uchicago.edu jonmon at ci.uchicago.edu
Thu Feb 9 15:28:52 CST 2012


Author: jonmon
Date: 2012-02-09 15:28:51 -0600 (Thu, 09 Feb 2012)
New Revision: 5571

Modified:
   SwiftApps/SciColSim/annealing.swift
   SwiftApps/SciColSim/sumloss.sh
Log:
Use env to find where awk is installed



Modified: SwiftApps/SciColSim/annealing.swift
===================================================================
--- SwiftApps/SciColSim/annealing.swift	2012-02-09 19:28:00 UTC (rev 5570)
+++ SwiftApps/SciColSim/annealing.swift	2012-02-09 21:28:51 UTC (rev 5571)
@@ -144,7 +144,7 @@
                     {
                         if ( k == j )
                         {
-                            try_x[k] = newx(x[i-1][j],dx[i-1][j]); // permute x[i-1][j]
+                            try_x[k] = newx(x[i-1][j], dx[i-1][j]); // permute x[i-1][j]
                         }
                         else
                         { // k > j

Modified: SwiftApps/SciColSim/sumloss.sh
===================================================================
--- SwiftApps/SciColSim/sumloss.sh	2012-02-09 19:28:00 UTC (rev 5570)
+++ SwiftApps/SciColSim/sumloss.sh	2012-02-09 21:28:51 UTC (rev 5571)
@@ -1,4 +1,4 @@
-#! /bin/awk -f
+#! /usr/bin/env awk -f
 
 BEGIN { n = 0; loss = 0; }
 




More information about the Swift-commit mailing list