Skip to content

Commit

Permalink
remove count conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelhoehn authored and Fraser Greenroyd committed Jun 9, 2022
1 parent 3a1ca8c commit c1017a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LifeCycleAssessment_Engine/Query/GetElementScope.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public static ScopeType GetElementScope(this IElementM elementM)
// get scope fragment
Scope scope = fragments.Select(x => x).Where(y => y is Scope).FirstOrDefault() as Scope;

if (scope == null || fragments.Count >= 1)
if (scope == null)
{
return ScopeType.Undefined;
}
Expand Down

0 comments on commit c1017a9

Please sign in to comment.