[Sumover-dev] [svn commit] r4640 - vic/branches/cc/cc
sumover-dev at cs.ucl.ac.uk
sumover-dev at cs.ucl.ac.uk
Tue Feb 23 16:22:42 GMT 2010
Author: soohyunc
Date: Tue Feb 23 16:22:41 2010
New Revision: 4640
Modified:
vic/branches/cc/cc/tfwc_sndr.cpp
Log:
shut off printing HISTORY items
Modified: vic/branches/cc/cc/tfwc_sndr.cpp
==============================================================================
--- vic/branches/cc/cc/tfwc_sndr.cpp (original)
+++ vic/branches/cc/cc/tfwc_sndr.cpp Tue Feb 23 16:22:41 2010
@@ -520,20 +520,19 @@
int i = 0, j = 0;
// make a decision whether to include the most recent loss interval
- fprintf(stderr, "\n\tHIST_0 [");
+ //fprintf(stderr, "\n\tHIST_0 [");
for (i = 0; i < hsz_; i++) {
I_tot0_ += weight_[i] * history_[i];
tot_weight_ += weight_[i];
- print_history_item(i);
+ // print_history_item(i);
}
- fprintf(stderr, "]\n");
- fprintf(stderr, "\tHIST_1 [");
+ //fprintf(stderr, "]\n");
+ //fprintf(stderr, "\tHIST_1 [");
for (i = 1, j = 0; i < hsz_ + 1; i++, j++) {
I_tot1_ += weight_[i-1] * history_[i];
- //tot_weight_ += weight_[i];
- print_history_item(i, j);
+ // print_history_item(i, j);
}
- fprintf(stderr, "]\n");
+ //fprintf(stderr, "]\n");
// compare I_tot0_ and I_tot1_ and use larger value
if (I_tot0_ < I_tot1_)
More information about the Sumover-dev
mailing list