We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0d96c5 commit 71ef232Copy full SHA for 71ef232
1 file changed
QuantExt/qle/math/randomvariable.cpp
@@ -24,6 +24,8 @@
24
25
#include <boost/math/distributions/normal.hpp>
26
27
+#include <iostream>
28
+
29
namespace QuantExt {
30
31
void Filter::clear() {
@@ -853,7 +855,7 @@ Array regressionCoefficients(
853
855
a.copyToMatrixCol(A, j);
854
856
}
857
- if (debugLabel.empty()) {
858
+ if (!debugLabel.empty()) {
859
for (Size i = 0; i < r.size(); ++i) {
860
std::cout << debugLabel << "," << r[i] << ",";
861
for (Size j = 0; j < regressor.size(); ++j) {
0 commit comments