activation function not friend

This commit is contained in:
Krishna Vedala 2020-05-31 07:53:19 -04:00
parent 14068efe18
commit 0e285920aa

View File

@ -150,7 +150,7 @@ class adaline {
<< std::endl;
}
friend int activation(double x) { return x > 0 ? 1 : -1; }
int activation(double x) { return x > 0 ? 1 : -1; }
private:
/**