Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
hczhai committed Sep 14, 2023
1 parent feee7b1 commit 9aa02d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/general_symm_permutation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -648,8 +648,10 @@ template <typename FL> struct GeneralSymmTensor {
make_pair(vector<int>(),
d_angular(xjs.size() == 0 ? idxs[ii] * 2 : xjs[0],
idxs[ii]))};
else
else {
assert(false);
return map<vector<int>, GeneralSymmTensor>();
}
} else {
string lexpr = expr.substr(l.left_idx, l.mid_idx - 1 - l.left_idx);
string rexpr = expr.substr(l.mid_idx, l.right_idx - 1 - l.mid_idx);
Expand Down

0 comments on commit 9aa02d8

Please sign in to comment.