From 283c857ee2e375f096ca1cd23a8f681705ad6ba6 Mon Sep 17 00:00:00 2001
From: Andreas Freise <adf@star.bham.ac.uk>
Date: Mon, 16 Dec 2013 14:26:25 +0000
Subject: [PATCH] alpha at BS must not be attrparam but just param.

---
 pykat/components.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pykat/components.py b/pykat/components.py
index 8aac82e..c9e765a 100644
--- a/pykat/components.py
+++ b/pykat/components.py
@@ -278,8 +278,8 @@ class beamSplitter(AbstractMirrorComponent):
         self._requested_node_names.append(node3)
         self._requested_node_names.append(node4)
              
-        self.__alpha = AttrParam("alpha", self, SIfloat(alpha))
-    
+        self.__alpha = Param("alpha", self, SIfloat(alpha))
+        
     @property
     def alpha(self): return self.__alpha
     @alpha.setter
-- 
GitLab