Skip to content

Commit 25e7cd0

Browse files
committed
Update TwoPhase example
1 parent e037da5 commit 25e7cd0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

js/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ const exampleSpecs = {
101101
"TwoPhase (animated)": {
102102
specpath: "./specs/TwoPhase.tla",
103103
constant_vals: {
104-
"RM": "{rm1,rm2}",
104+
"RM": "{rm1,rm2,rm3}",
105105
}
106106
},
107107
"TeachingConcurrency": {

specs/TwoPhase.tla

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ EXTENDS TLC, Naturals
2121
(***************************************************************************)
2222
\* CONSTANT RM \* The set of resource managers
2323

24-
RM == {"rm1", "rm2"}
24+
CONSTANT RM
2525

2626
VARIABLES
2727
rmState, \* $rmState[rm]$ is the state of resource manager RM.

0 commit comments

Comments
 (0)