提交 47362465 编写于 作者: H hedaoyuan

fix warning

上级 b3f0f3d2
...@@ -408,7 +408,7 @@ public: ...@@ -408,7 +408,7 @@ public:
LOG(FATAL) << "Not implemented"; LOG(FATAL) << "Not implemented";
} }
virtual void addBias(Matrix& b, real scale, bool sharedBias) { void addBias(Matrix& b, real scale, bool sharedBias) {
if (!sharedBias) { if (!sharedBias) {
addBias(b, scale); addBias(b, scale);
} else { } else {
...@@ -425,7 +425,7 @@ public: ...@@ -425,7 +425,7 @@ public:
LOG(FATAL) << "Not implemented"; LOG(FATAL) << "Not implemented";
} }
virtual void collectBias(Matrix& a, real scale, bool sharedBias) { void collectBias(Matrix& a, real scale, bool sharedBias) {
if (!sharedBias) { if (!sharedBias) {
collectBias(a, scale); collectBias(a, scale);
} else { } else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册