diff --git a/pystencils/interpolation_astnodes.py b/pystencils/interpolation_astnodes.py
index 95845ac46514f5d22018f4429abc3557cef771b6..9db3cf77a08811b45be073ff4872c148a71f906d 100644
--- a/pystencils/interpolation_astnodes.py
+++ b/pystencils/interpolation_astnodes.py
@@ -167,14 +167,6 @@ class NearestNeightborInterpolator(Interpolator):
                          use_normalized_coordinates)
 
 
-# def forbid_double(expr):
-    # dtype = pystencils.data_types.get_type_of_expression(expr)
-    # if dtype == create_type('double')
-        # pystencils.data_types.get_type_of_expression(
-    # else:
-        # return expr
-
-
 class InterpolatorAccess(TypedSymbol):
     def __new__(cls, field, *offsets, **kwargs):
         obj = InterpolatorAccess.__xnew_cached_(cls, field, *offsets, **kwargs)