]> gitweb.michael.orlitzky.com - spline3.git/blobdiff - src/Cube.hs
Remove all "otherwise -> error" cases for performance reasons.
[spline3.git] / src / Cube.hs
index 11762a5efeb0b1366d0455da5e97198f82ece0fc..9f931431b93bafb4ca6e0a13c0940bc036a3e01a 100644 (file)
@@ -506,9 +506,6 @@ tetrahedron cube 23 =
                        $ fv cube
       vol = tetrahedra_volume cube
 
--- Feels dirty, but whatever.
-tetrahedron _ _ = error "asked for a nonexistent tetrahedron"
-
 
 -- Only used in tests, so we don't need the added speed
 -- of Data.Vector.