Commit 309bfdf0 authored by gaurides's avatar gaurides Committed by Scott Cyphers

Bug fix for assert (#1598)

parent 6ad5b97d
......@@ -105,7 +105,7 @@ op::ConvolutionAdd::ConvolutionAdd(const std::shared_ptr<Node>& data_batch,
std::shared_ptr<Node> op::ConvolutionAdd::copy_with_new_args(const NodeVector& new_args) const
{
NODE_VALIDATION_ASSERT(this, new_args.size() != 3)
NODE_VALIDATION_ASSERT(this, new_args.size() == 3)
<< "New arg size is not 3 (new args size: " << new_args.size() << ").";
return std::shared_ptr<Node>(new ConvolutionAdd(new_args.at(0),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment