]> gitweb.michael.orlitzky.com - spline3.git/blobdiff - src/Tetrahedron.hs
src/{Cube,Tetrahedron}.hs: disable incomplete pattern warnings via pragmas.
[spline3.git] / src / Tetrahedron.hs
index 4bc86581bf0491cf7d8a66bfbcf7f019b66aa3b7..09b042d9c27e6d7d2611508082fdabe2136e0519 100644 (file)
@@ -1,3 +1,7 @@
+-- The local "coefficient" function defined within the "c" function
+-- pattern matches on a bunch of integers, but doesn't handle the
+-- "otherwise" case for performance reasons.
+{-# OPTIONS_GHC -Wno-incomplete-patterns #-}
 {-# LANGUAGE BangPatterns #-}
 
 module Tetrahedron (