Skip to content

Commit

Permalink
fixed check for wrong graph
Browse files Browse the repository at this point in the history
  • Loading branch information
m4xxed committed Aug 11, 2023
1 parent f2ac554 commit ad2429c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/SEE/Tools/ReflexionAnalysis/ReflexionAnalysis.cs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ public static bool IsSpecified(Edge edge)
/// <returns>true if edge is a divergent architecture dependency</returns>
public static bool IsDivergent(Edge edge)
{
AssertOrThrow(edge.IsInArchitecture(), () => new NotInSubgraphException(Architecture, edge));
AssertOrThrow(edge.IsInImplementation(), () => new NotInSubgraphException(Implementation, edge));
return edge.State() == State.Divergent;
}
#endregion
Expand Down

0 comments on commit ad2429c

Please sign in to comment.