mirror of
https://github.com/rm-dr/daisy
synced 2025-07-01 14:43:30 -07:00
Added is_poly_power
This commit is contained in:
@ -272,7 +272,11 @@ impl Operator {
|
||||
p.unitless() && !q.unitless()
|
||||
} else if let Expression::Constant(_, _) = b {
|
||||
true
|
||||
} else {false}
|
||||
} else if let Expression::Variable(_, _) = b {
|
||||
true
|
||||
} else {
|
||||
b.is_poly_power()
|
||||
}
|
||||
} else {false}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user