Skip to content

Commit

Permalink
BUGFIX: crash if was a looped ontology.
Browse files Browse the repository at this point in the history
  • Loading branch information
ValeriyBushenev committed Apr 12, 2017
1 parent 15ef986 commit e0bc0d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/veda/onto/onto.d
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,8 @@ class Onto
foreach (elementz; list)
{
superelementes[ elementz.uri ] = true;
prepare_superelements(parent_predicate, elh, superelementes, elementes, elementz.uri, level + 1);
if (elementz.uri != look_cl)
prepare_superelements(parent_predicate, elh, superelementes, elementes, elementz.uri, level + 1);
}
}
}
Expand Down

0 comments on commit e0bc0d1

Please sign in to comment.