Skip to content
Snippets Groups Projects
Commit d2d85b8b authored by dgelessus's avatar dgelessus
Browse files

Fix type errors in tests/chr_tests.ipynb

Now that ProB supports reals, an expression like x>y is no longer
sufficient to infer that x and y are integers.
parent 2aaa99ba
No related branches found
No related tags found
No related merge requests found
%% Cell type:code id: tags:
``` prob
:pref CHR
```
%% Output
CHR = false
%% Cell type:code id: tags:
``` prob
:pref CHR=TRUE
```
%% Output
Preference changed: CHR = TRUE
%% Cell type:code id: tags:
``` prob
:pref CHR
```
%% Output
CHR = true
%% Cell type:code id: tags:
``` prob
x>y & y>x
x : INTEGER & x>y & y>x
```
%% Output
$\mathit{FALSE}$
FALSE
%% Cell type:code id: tags:
``` prob
:pref CHR=FALSE
```
%% Output
Preference changed: CHR = FALSE
%% Cell type:code id: tags:
``` prob
x>y & y>x
x : INTEGER & x>y & y>x
```
%% Output
$\mathit{time\_out}$
time_out
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment