diff --git a/functions.py b/functions.py
index ce920278dbf84cc71221f13d4cc33e11822ee2d2..68b25d92285a10ea4a8b2686829c1677a128146c 100644
--- a/functions.py
+++ b/functions.py
@@ -118,7 +118,7 @@ class Div(_Function):
         # result of the chain rule on self.dx.
         #######################################################################
         self.dx = grad * (1/self.y.data)
-        self.dy = grad * ((-1/(self.y.data)^2) * self.x.data)
+        self.dy = grad * ((-1/(self.y.data)**2) * self.x.data)
         #######################################################################
         # --------------------------- END OF YOUR CODE ------------------------
         #######################################################################