         dispX,
         dispY,
         graphSwing,
-        graphTract);
+        graphTract,
+        graphSpeed);
   }
 
   // Update graph with new vertex positions.

  float* dispY = NULL;
  float* graphSwing = NULL;
  float* graphTract = NULL;

  float* vxLocs = NULL;
  float* vyLocs = NULL;

    // Do not allow more then 50% speed increase.
    if (oldSpeed > FLOAT_EPSILON && *gspeed > 1.5 * oldSpeed)
      *gspeed = 1.5 * oldSpeed;
}

__device__ void fa2UpdateSpeed(unsigned int gid, unsigned int numvertices,
