clean batch when nodes is not empty

pull/9714/head
tronzhang 4 years ago
parent 135e21e5e1
commit 68868ab438

@ -61,7 +61,7 @@ bool IsAtomicCleanNode(const AnfNodePtr &node) {
std::vector<AnfNodePtrList> SplitVectorByWidth(const AnfNodePtrList &nodes, int width) {
std::vector<AnfNodePtrList> splitted_nodes;
if (!nodes.empty()) {
if (nodes.empty()) {
return splitted_nodes;
}

Loading…
Cancel
Save