Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not use SelingerProfileSipsMetric if no profile available.
There is a bug #2426, which causes an assertion in the SelingerProfileSipsMetric::getReordering. Rther than fixing the problem I decided to work-around it for the time being, until we have a proper fix. We can work around this problem in one of two ways: 1. don't assert and just don't reorder atoms (this should be fine) 2. don't create the metric in the first place, if there is no profile I decided to use #2 as that seems to be the safer option. I added code for a warning, but disabled it because it is incompatible with the ctest suite.
- Loading branch information