Changeset 1969


Ignore:
Timestamp:
06/16/15 11:26:45 (9 years ago)
Author:
pharms
Message:
  • small bug fix in detecting overlapping iterations
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/SimilarTasks.java

    r1957 r1969  
    986986                originalStartUpdate += delta.getRevised().size(); 
    987987            } 
    988             if (delta.getOriginal().getPosition() < originalIndexes[1]) { 
     988            if (delta.getOriginal().getPosition() <= originalIndexes[1]) { 
    989989                originalEndUpdate += delta.getRevised().size(); 
    990990            } 
     
    992992                revisedStartUpdate += delta.getOriginal().size(); 
    993993            } 
    994             if (delta.getRevised().getPosition() < revisedIndexes[1]) { 
     994            if (delta.getRevised().getPosition() <= revisedIndexes[1]) { 
    995995                revisedEndUpdate += delta.getOriginal().size(); 
    996996            } 
Note: See TracChangeset for help on using the changeset viewer.