[Yuima-commits] r498 - pkg/yuima/src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sat Oct 29 03:21:49 CEST 2016
Author: lorenzo
Date: 2016-10-29 03:21:48 +0200 (Sat, 29 Oct 2016)
New Revision: 498
Modified:
pkg/yuima/src/carmafilter.c
Log:
Modified: pkg/yuima/src/carmafilter.c
===================================================================
--- pkg/yuima/src/carmafilter.c 2016-10-28 23:56:34 UTC (rev 497)
+++ pkg/yuima/src/carmafilter.c 2016-10-29 01:21:48 UTC (rev 498)
@@ -263,11 +263,11 @@
}
/*term_int = -0.5 * (log(Sd_2)+ Uobs * Uobs * 1/Sd_2) every entries are scalars*/
/*fd=fopen("dueinteri.txt", "w+");*/
- if(rResult[1]>0){
+ /*if(rResult[1]>0){*/
rResult[0] += -0.5 * (log(rResult[1])+ Uobs * Uobs /rResult[1]);
- }else{
+ /*}else{
rResult[0] += -1000000;
- }
+ }*/
/*printf("\n res %.5f", rResult[0]);*/
/* manual debug */
}
More information about the Yuima-commits
mailing list