Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sasa
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
verimag
synchrone
sasa
Commits
d0de2f1a
Commit
d0de2f1a
authored
5 years ago
by
Gwennan Eliezer
Browse files
Options
Downloads
Patches
Plain Diff
Changed all 'add_int_true' to 'count_true_acc'
(I forgot to change it everywhere)
parent
35558ba7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!8
WIP: Resolve "Add Lustre oracles to all examples of the test directory"
Pipeline
#26775
passed with warnings
5 years ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/coloring/round.lus
+3
-3
3 additions, 3 deletions
test/coloring/round.lus
with
3 additions
and
3 deletions
test/coloring/round.lus
+
3
−
3
View file @
d0de2f1a
...
@@ -97,7 +97,7 @@ tel
...
@@ -97,7 +97,7 @@ tel
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
node
one_true
(
tab
:
bool
^
m
^
n
)
returns
(
res
:
bool
);
node
one_true
(
tab
:
bool
^
m
^
n
)
returns
(
res
:
bool
);
let
let
res
=
(((
red
<<
add_i
nt_true
,
n
>>
(
0
,
tab
)))
=
1
);
res
=
(((
red
<<
cou
nt_true
_acc
,
n
>>
(
0
,
tab
)))
=
1
);
tel
tel
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
...
@@ -109,13 +109,13 @@ tel
...
@@ -109,13 +109,13 @@ tel
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
node
compt_move
(
tab_acti
:
bool
^
m
^
n
)
returns
(
nb_act
:
int
);
node
compt_move
(
tab_acti
:
bool
^
m
^
n
)
returns
(
nb_act
:
int
);
let
let
nb_act
=
0
->
pre
(
nb_act
)
+
(
red
<<
add_i
nt_true
,
n
>>
(
0
,
tab_acti
));
nb_act
=
0
->
pre
(
nb_act
)
+
(
red
<<
cou
nt_true
_acc
,
n
>>
(
0
,
tab_acti
));
tel
tel
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
node
is_distributed
(
acti
,
enab
:
bool
^
m
^
n
)
returns
(
res
:
bool
);
node
is_distributed
(
acti
,
enab
:
bool
^
m
^
n
)
returns
(
res
:
bool
);
let
let
res
=
true
->
(((
red
<<
add_i
nt_true
,
n
>>
(
0
,
acti
))
>=
1
)
or
silent
<<
m
,
n
>>
(
enab
))
and
pre
(
res
);
res
=
true
->
(((
red
<<
cou
nt_true
_acc
,
n
>>
(
0
,
acti
))
>=
1
)
or
silent
<<
m
,
n
>>
(
enab
))
and
pre
(
res
);
tel
tel
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment