in BALMLayout::DefaultPolicy, call printf instead of debugger.
This is more user friendly, debugger() was a bit drastic.
This commit is contained in:
parent
bf0b62a004
commit
d10cb215dc
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user