1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00

require the base to be linear

This commit is contained in:
schaeff 2018-09-19 18:45:58 +02:00
parent 95d60987da
commit 0b83db91dd

View file

@ -648,6 +648,11 @@ impl Flattener {
statements_flattened,
base.clone(),
);
// we require from the base to be linear
// TODO change that
assert!(base.is_linear());
match e {
// flatten(base ** 1) == flatten(base)
e if *e == T::one() => {