[Swift-commit] r4070 - SwiftApps/SwiftR/Swift/R

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Tue Feb 8 09:28:07 CST 2011


Author: tga
Date: 2011-02-08 09:28:07 -0600 (Tue, 08 Feb 2011)
New Revision: 4070

Modified:
   SwiftApps/SwiftR/Swift/R/Workers.R
Log:
Bugfix in getWorker() - introduced a logical error.


Modified: SwiftApps/SwiftR/Swift/R/Workers.R
===================================================================
--- SwiftApps/SwiftR/Swift/R/Workers.R	2011-02-08 15:13:35 UTC (rev 4069)
+++ SwiftApps/SwiftR/Swift/R/Workers.R	2011-02-08 15:28:07 UTC (rev 4070)
@@ -235,8 +235,8 @@
 # no argument provided, the most recent server of any type
 getWorker <- function (server=NULL) {
     if (!exists(".swift.workers") 
-        || is.null(.swift.workers
-        || length(.swift.workers) == 0)) {
+        || is.null(.swift.workers)
+        || (length(.swift.workers) == 0)) {
         return (NULL)
     }
     if (is.null(server)) {




More information about the Swift-commit mailing list