diff --git a/src/GShark/Geometry/NurbsSurface.cs b/src/GShark/Geometry/NurbsSurface.cs
index a2ecb364..1870c1f8 100644
--- a/src/GShark/Geometry/NurbsSurface.cs
+++ b/src/GShark/Geometry/NurbsSurface.cs
@@ -236,6 +236,7 @@ public static NurbsSurface Extruded(Vector3 direction, NurbsBase profile)
///
/// Constructs a sweep surface with one rail curve.
+ /// Follows the algorithm A10.2 at page 477 of The NURBS Book by Piegl and Tiller.
///
/// The rail curve.
/// The section curve.
@@ -244,7 +245,6 @@ public static NurbsSurface FromSweep(NurbsBase rail, NurbsBase profile)
{
var (tValues, _) = Sampling.Curve.AdaptiveSample(rail, GSharkMath.MaxTolerance);
List frames = rail.PerpendicularFrames(tValues);
-
List curves = new List {profile};
foreach (Plane frame in frames.Skip(1))