ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/gclib/tophat_cpp/closures.cpp
(Generate patch)
# Line 468 | Line 468
468        uint32_t curr_right_obs_order = it.observation_order(curr_left_hit_group.insert_id);
469        uint32_t curr_left_obs_order = it.observation_order(curr_right_hit_group.insert_id);
470        
471 <      while(curr_left_obs_order != 0xFFFFFFFF &&
472 <            curr_right_obs_order != 0xFFFFFFFF)
471 >      while(curr_left_obs_order != VMAXINT32 &&
472 >            curr_right_obs_order != VMAXINT32)
473          {
474            while (curr_left_obs_order < curr_right_obs_order&&
475 <                 curr_left_obs_order != 0xFFFFFFFF && curr_right_obs_order != 0xFFFFFFFF)
475 >                 curr_left_obs_order != VMAXINT32 && curr_right_obs_order != VMAXINT32)
476              {
477                // Get hit group
478                
# Line 481 | Line 481
481              }
482            
483            while (curr_left_obs_order > curr_right_obs_order &&
484 <                 curr_left_obs_order != 0xFFFFFFFF && curr_right_obs_order != 0xFFFFFFFF)
484 >                 curr_left_obs_order != VMAXINT32 && curr_right_obs_order != VMAXINT32)
485              {
486                // Get hit group
487                
# Line 490 | Line 490
490              }
491            
492            while (curr_left_obs_order == curr_right_obs_order &&
493 <                 curr_left_obs_order != 0xFFFFFFFF && curr_right_obs_order != 0xFFFFFFFF)
493 >                 curr_left_obs_order != VMAXINT32 && curr_right_obs_order != VMAXINT32)
494              {                  
495                if (coverage_attempts++ % 1000 == 0)
496                  fprintf (stderr, "Adding covered motifs from pair %d\n", coverage_attempts);
# Line 532 | Line 532
532        uint32_t curr_right_obs_order = it.observation_order(curr_left_hit_group.insert_id);
533        uint32_t curr_left_obs_order = it.observation_order(curr_right_hit_group.insert_id);
534        
535 <      while(curr_left_obs_order != 0xFFFFFFFF &&
536 <            curr_right_obs_order != 0xFFFFFFFF)
535 >      while(curr_left_obs_order != VMAXINT32 &&
536 >            curr_right_obs_order != VMAXINT32)
537          {
538            while (curr_left_obs_order < curr_right_obs_order &&
539 <                 curr_left_obs_order != 0xFFFFFFFF && curr_right_obs_order != 0xFFFFFFFF)
539 >                 curr_left_obs_order != VMAXINT32 && curr_right_obs_order != VMAXINT32)
540              {
541                // Get hit group
542                
# Line 545 | Line 545
545              }
546            
547            while (curr_left_obs_order > curr_right_obs_order &&
548 <                 curr_left_obs_order != 0xFFFFFFFF && curr_right_obs_order != 0xFFFFFFFF)
548 >                 curr_left_obs_order != VMAXINT32 && curr_right_obs_order != VMAXINT32)
549              {
550                // Get hit group
551                
# Line 554 | Line 554
554              }
555            
556            while (curr_left_obs_order == curr_right_obs_order &&
557 <                 curr_left_obs_order != 0xFFFFFFFF && curr_right_obs_order != 0xFFFFFFFF)
557 >                 curr_left_obs_order != VMAXINT32 && curr_right_obs_order != VMAXINT32)
558              {  
559                if (closure_attempts++ % 1000 == 0)
560                  fprintf (stderr, "Trying to close pair %d\n", closure_attempts);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines