mirror of
https://github.com/vtil-project/VTIL-Core
synced 2026-08-17 08:23:03 -04:00
Converting has_path into debug warning.
This commit is contained in:
parent
3c3687636e
commit
dd3d0d6946
1 changed files with 6 additions and 1 deletions
|
|
@ -333,8 +333,13 @@ namespace vtil
|
|||
{
|
||||
// Skip if it does not reach target.
|
||||
//
|
||||
#if _DEBUG
|
||||
if ( !target->owner->has_path( it.block, target ) )
|
||||
return enumerator::ocontinue;
|
||||
{
|
||||
warning( "Iterator %s has no path to %s but is still being considered in backpropagation.",
|
||||
it, target->begin() );
|
||||
}
|
||||
#endif
|
||||
|
||||
// Increment path count.
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue