behavior has changed (better and worse), figuring out why

This commit is contained in:
Chao Liu
2019-05-21 16:43:56 -05:00
parent acd7082fe1
commit 2a48812edb
5 changed files with 16 additions and 13 deletions

View File

@@ -286,10 +286,9 @@ struct ConstantTensorDescriptor
"wrong! dimensions to be unfolded need to be packed");
// checkt ranks
static_assert(GetMemoryRank(IDim_p1) = GetMemoryRank(IDim) + 1,
"wrong! ranks of dimensions to be "
"unfolded need to be in increasing "
"and continuous ranks");
static_assert(GetMemoryRank(IDim_p1) == GetMemoryRank(IDim) + 1,
"wrong! ranks of dimensions to be unfolded need to be in increasing and "
"continuous ranks");
});
// left and right