소스 검색

optical channel bugfix

Tharmetharan Balendran 5 년 전
부모
커밋
2e157f7def
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      models/optical_channel.py

+ 1 - 1
models/optical_channel.py

@@ -127,7 +127,7 @@ class OpticalChannel(defs.Channel):
 
         # Symbol Decisions
         idx = np.arange(self.filter_samples/2, t.shape[0] - (self.filter_samples/2),
-                        self.symbol_period/self.sample_period, dtype='int16')
+                        self.symbol_period/self.sample_period, dtype='int64')
         t_descision = self.sample_period * idx
 
         if self.show_graphs: