Project

General

Profile

Revision d91c8332

IDd91c83320499ef665a99fa6086322a2bf532d4f3

Added by Simon Tenbusch almost 9 years ago

[sequencechartfacade] fixed another bug with predecessor relation

View differences:

src/eventlog/sequencechartfacade.cc
898 898
            if(antecessor==current) {
899 899
                break; //We have to consider earlier events only
900 900
            }
901
            if(antecessor->getModuleId() != moduleId) {
901
            if(antecessor->getModuleId() != moduleId && current->getCauseEvent() != antecessor) {
902 902
                continue; // Check if this is an antecesor
903 903
            }
904 904
            if(antecessor->earliestProcessingTime+current->getComplexity() > current->earliestProcessingTime) {

Also available in: Unified diff