- Fixed bug in run forcing.
This commit is contained in:
parent
68d3bab305
commit
18415c95a2
@ -297,14 +297,14 @@ bind_existing_run (const Goal goal, const Protocol p, const Role r,
|
|||||||
termPrint (p->nameterm);
|
termPrint (p->nameterm);
|
||||||
eprintf (", ");
|
eprintf (", ");
|
||||||
termPrint (r->nameterm);
|
termPrint (r->nameterm);
|
||||||
eprintf ("\n");
|
eprintf (", forced run %i\n", forced_run);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
flag = 1;
|
flag = 1;
|
||||||
goal.rd->bind_index = index;
|
goal.rd->bind_index = index;
|
||||||
for (run = 0; run < sys->maxruns; run++)
|
for (run = 0; run < sys->maxruns; run++)
|
||||||
{
|
{
|
||||||
if (forced_run >= 0 && forced_run == run)
|
if (forced_run == -2 || forced_run == run)
|
||||||
{
|
{
|
||||||
if (sys->runs[run].protocol == p && sys->runs[run].role == r)
|
if (sys->runs[run].protocol == p && sys->runs[run].role == r)
|
||||||
{
|
{
|
||||||
@ -739,7 +739,7 @@ iterate ()
|
|||||||
if (DEBUGL (3) && explanation != NULL)
|
if (DEBUGL (3) && explanation != NULL)
|
||||||
{
|
{
|
||||||
indentPrint ();
|
indentPrint ();
|
||||||
eprintf ("%s ", explanation);
|
eprintf ("ITERATE: %s", explanation);
|
||||||
|
|
||||||
if (e_run != INVALID)
|
if (e_run != INVALID)
|
||||||
eprintf ("#%i ", e_run);
|
eprintf ("#%i ", e_run);
|
||||||
@ -758,7 +758,7 @@ iterate ()
|
|||||||
termPrint (e_term3);
|
termPrint (e_term3);
|
||||||
eprintf (" ");
|
eprintf (" ");
|
||||||
}
|
}
|
||||||
eprintf ("\n");
|
eprintf (" ]}>=--\n");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user