Skip to content

Commit

Permalink
fix(tutorial 3): replace one of the generator agents' streams by the …
Browse files Browse the repository at this point in the history
…cosine stream
  • Loading branch information
BjoernLudwigPTB committed Jul 1, 2021
1 parent 99a1b04 commit 2f20183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agentMET4FOF_tutorials/tutorial_3_multi_channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def init_parameters(self):
def agent_loop(self):
if self.current_state == "Running":
sine_data = self._sine_stream.next_sample() # dictionary
cosine_data = self._sine_stream.next_sample() # dictionary
cosine_data = self._cos_stream.next_sample() # dictionary
self.send_output(sine_data["quantities"], channel="sine")
self.send_output(cosine_data["quantities"], channel="cosine")

Expand Down

0 comments on commit 2f20183

Please sign in to comment.