diff src/BayesianArrayStructure.cpp @ 23:032edf186a68

bug fixed on draw vector fn, likelihood drawing fine now
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Wed, 30 Nov 2011 12:35:04 +0000
parents 9860abc92a30
children 5a11b19906c7
line wrap: on
line diff
--- a/src/BayesianArrayStructure.cpp	Wed Nov 30 11:48:35 2011 +0000
+++ b/src/BayesianArrayStructure.cpp	Wed Nov 30 12:35:04 2011 +0000
@@ -20,7 +20,7 @@
 	prior.createVector(1);
 	likelihood.createVector(1);
 	posterior.createVector(1);
-	tmpPrior.createVector(1);
+
 	
 	speedPriorValue = 1.0;
 	speedEstimate = speedPriorValue;
@@ -38,7 +38,6 @@
 	prior.createVector(length);
 	likelihood.createVector(length);
 	posterior.createVector(length);
-	tmpPrior.createVector(length);
 	
 	lastEventTime = 0;
 	usingIntegratedTempoEstimate = true;//use max index
@@ -104,12 +103,6 @@
 	relativeSpeedPosterior.createVector(length);
 	tmpPosteriorForStorage.createVector(length);
 	
-	tmpPrior.createVector(length);
-	tmpPrior.zero();
-	tmpPrior.addConstant(0.1);
-	tmpPrior.addGaussianShape(130, 10, 0.2);
-	printf("TMP PRIOR TEST VECTOR\n");
-	tmpPrior.printArray();
 	
 
 }