Skip to content

Commit

Permalink
forgot a return!
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhathcock committed Jun 14, 2024
1 parent 5afc081 commit 9a8e3b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public Base Convert(IRevitLocation target)
var point = target.ToLocationPoint();
if (point is not null)
{
_xyzConverter.Convert(point.Point);
return _xyzConverter.Convert(point.Point);
}
throw new SpeckleConversionException($"Unexpected location type {target.GetType()}");
}
Expand Down

0 comments on commit 9a8e3b7

Please sign in to comment.