From 77d8b636584f8c99cd347f90d64084aed19c76b4 Mon Sep 17 00:00:00 2001
From: Lou Bernabeu <lou.bernabeu@student-cs.fr>
Date: Sat, 2 Jan 2021 18:05:18 +0100
Subject: [PATCH] No need for coef function : complex(real, imag) already does
 the job

---
 definition.py | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/definition.py b/definition.py
index e133b08..13af14a 100644
--- a/definition.py
+++ b/definition.py
@@ -19,14 +19,6 @@ class Plate:
         self.theta = theta
         self.orientation = orientation
 
-def coef(real, imag):
-    a = 0
-    if real != 0:
-        a = real
-    if imag != 0:
-        a+= imag*1j
-    return(a)
-
 class Photon:
     def __init__(self, state0, state1):
         self.state0 = [state0]
-- 
GitLab