previous commit correction

This commit is contained in:
Krishna Vedala
2020-05-31 08:08:26 -04:00
parent 0e285920aa
commit b1c6556475

View File

@@ -232,7 +232,7 @@ void test2(double eta = 0.01) {
double x0 = ((std::rand() % range) - range2) / 100.f;
double x1 = ((std::rand() % range) - range2) / 100.f;
X[i] = {x0, x1};
Y[i] = (x0 + x1) > -1 ? 1 : -1;
Y[i] = (x0 + 3. * x1) > -1 ? 1 : -1;
}
std::cout << "------- Test 2 -------" << std::endl;