[Swift-commit] r5569 - SwiftApps/SciColSim
jonmon at ci.uchicago.edu
jonmon at ci.uchicago.edu
Thu Feb 9 12:59:05 CST 2012
Author: jonmon
Date: 2012-02-09 12:59:05 -0600 (Thu, 09 Feb 2012)
New Revision: 5569
Modified:
SwiftApps/SciColSim/annealing.swift
Log:
moved where rerunsperapp is set to where the global variables are defined.
Modified: SwiftApps/SciColSim/annealing.swift
===================================================================
--- SwiftApps/SciColSim/annealing.swift 2012-02-09 18:37:49 UTC (rev 5568)
+++ SwiftApps/SciColSim/annealing.swift 2012-02-09 18:59:05 UTC (rev 5569)
@@ -16,7 +16,7 @@
global boolean FIX_VARIABLES = true;
global int var_fixed[] = [1,1,0,0,0];
global int Nworkers = @toint(@arg("nworkers","4"));
-global int rerunsPerApp;
+global int rerunsPerApp= @toint(@arg("rerunsperapp", "100"));
( float nx ) newx( float x, float dx )
{
@@ -282,7 +282,6 @@
optimizer_sweep() // Implements logic of python driver script
{
- rerunsPerApp = @toint(@arg("rerunsperapp", "100"));
int minrange = @toint(@arg("minrange", "58"));
int maxrange = @toint(@arg("maxrange", "59"));
More information about the Swift-commit
mailing list