in BALMLayout::DefaultPolicy, call printf instead of debugger.

This is more user friendly, debugger() was a bit drastic.
This commit is contained in:
Alex Wilson 2012-04-26 18:02:03 +12:00
parent bf0b62a004
commit d10cb215dc

View File

@ -9,6 +9,7 @@
#include "ALMLayout.h"
#include <stdio.h>
#include <vector>
#include <AutoDeleter.h>
@ -160,7 +161,7 @@ BALM::BALMLayout::DefaultPolicy::OnBadLayout(BALMLayout* layout,
return true;
if (result == kInfeasible) {
debugger("BALMLayout failed to solve your layout!");
printf("BALMLayout failed to solve your layout!\n");
return false;
} else
return true;