never print the cdf or pdf or the overflow bucket if we're simplescalr
--HG-- extra : convert_revision : 921ad80a5c671fee9eab3f389636dccc101d18f6
This commit is contained in:
@@ -678,18 +678,17 @@ DistPrint::operator()(ostream &stream) const
|
||||
}
|
||||
|
||||
print.flags = flags;
|
||||
if (flags & (pdf || cdf)) {
|
||||
print.pdf = NAN;
|
||||
print.cdf = NAN;
|
||||
}
|
||||
}
|
||||
|
||||
if (mode == mode_m5 || overflow > 0.0) {
|
||||
print.name = base + "overflows";
|
||||
print.value = overflow;
|
||||
if (total) {
|
||||
if (mode == mode_m5 && total) {
|
||||
print.pdf = overflow / total;
|
||||
print.cdf += print.pdf;
|
||||
} else {
|
||||
print.pdf = NAN;
|
||||
print.cdf = NAN;
|
||||
}
|
||||
print(stream);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user