[chronojump] minor fix



commit e5f0c9ca8221156864cc54da37ce24d3adc2bb2c
Author: Xavier Padullés <x padulles gmail com>
Date:   Mon Mar 23 16:53:06 2015 +0100

    minor fix

 encoder/util.R |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/encoder/util.R b/encoder/util.R
index 8982e47..f8936cc 100644
--- a/encoder/util.R
+++ b/encoder/util.R
@@ -870,6 +870,6 @@ getInertialDiametersPerTick <- function(d_vector)
 #Returns the instant diameter every milisecond
 getInertialDiameterPerMs <- function(diameterPerTick, displacement)
 {
-  return(diameterPerTick[abs(cumsum(displacement)]))
+  return(diameterPerTick[abs(cumsum(displacement))])
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]