diff options
Diffstat (limited to 'examples/p5solv')
-rwxr-xr-x | examples/p5solv | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/p5solv b/examples/p5solv index ac2e730..77d580a 100755 --- a/examples/p5solv +++ b/examples/p5solv @@ -627,9 +627,7 @@ while (1) { last unless @problems; for my $problem (@problems) { print "Problem $problem->{id}/".@problems.":\n"; - my $r = $problem->findproblemrule(); - my $ri = $r->info(); - print $ri->problemstr()."\n"; + print $problem->str()."\n"; my @solutions = $problem->solutions(); for my $solution (@solutions) { print " Solution $solution->{id}:\n"; |