Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhathcock committed Jul 4, 2024
1 parent 96a5bda commit 6a043a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public override DB.Level Convert(SOBE.Level target)

private static DB.Level GetExistingLevelByElevation(IEnumerable<DB.Level> docLevels, double elevation)
{
return docLevels.FirstOrDefault(l => Math.Abs(l.Elevation - elevation) < RevitConversionContextStack.TOLERANCE);
return docLevels.First(l => Math.Abs(l.Elevation - elevation) < RevitConversionContextStack.TOLERANCE);
}

private DB.ViewPlan CreateViewPlan(string name, DB.ElementId levelId)
Expand Down

0 comments on commit 6a043a7

Please sign in to comment.