Changeset 2019

Show
Ignore:
Timestamp:
03/10/10 10:06:54 (5 months ago)
Author:
x.pechoultres@…
Message:

Choco : fix bad use of verbose, trace and printf

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/modules/choco/source/search.cl

    r239 r2019  
    437437 
    438438// printing the current state of domains when a solution has been reached 
     439// xp : use trace to prevent direct output  
    439440[showSolution(a:Solver) 
    440441 -> if (verbose() >= STALK) 
    441442      let S := (if (a.varsToShow) a.varsToShow 
    442443                else a.problem.vars) in 
    443         for x in S printf("~S\n",x)] 
    444 ;        for x in S printf("~I\n",self_print(x))] 
     444        for x in S trace(STALK,"~S",x)] 
    445445 
    446446// ********************************************************************