Tomas Krejci

Results 14 issues of Tomas Krejci

I'm trying to attach the IMU to the Raspberry PI. I'm getting following error ``` $ ACCELEROMETER_QUERY // Invalid mpu9250/mpu6050 id (got 70). // This is generally indicative of connection...

This fixes two problems. First is that the classes `_TRUE` and `_FALSE` don't accept keyword arguments for the `__call__` function. This means that when evaluating model with constants it raises...

When simplifying the expression ``` AND(TRUE, OR(OR(symbol("x0"), FALSE), AND(symbol("x2"), TRUE), NOT(TRUE)), AND(AND(TRUE, TRUE, symbol("x2"), TRUE), NOT(symbol("x0")))) ``` Which produces the expression ``` AND(NOT(Symbol('x0')), Symbol('x2'), Symbol('x2')) ``` Which could be trivially...

This fixes the issue https://github.com/bastikr/boolean.py/issues/112. Main reason was that when doing the negative absorption the result was the same as one of the arguments already present. This caused it to...

The function [absorb](https://github.com/bastikr/boolean.py/blob/431e5226c269e4c863cc851b971ca5e89fda04d7/boolean/boolean.py#L1446) should produce the same results no matter the order of the `args` passed to it. There is a counter-example where this property does not hold. ```python import...

In my sample code I have a formula which after call to `.simplify()` produces a correct formula. When calling `.simplify()` second times we get an even simpler result. This might...

In some situations DeMorgan rule is not being applied. Here is a sample ```python import boolean algebra = boolean.BooleanAlgebra() TRUE, FALSE, NOT, AND, OR, symbol = algebra.definition() x = NOT(AND(NOT(symbol("x0")),...

The package is using ad-hoc script to do unit testing. This converts them to Pytest. It is something that most people are used to and it also helps when some...

This is likely a fix for https://github.com/tpircher-zz/quine-mccluskey/issues/8.