Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ring630 committed Nov 8, 2023
1 parent 76614e9 commit bc4bbd7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyaedt/edb_core/edb_data/simulation_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,8 @@ def add_frequency_sweep(self, name=None, frequency_sweep=None):

if not frequency_sweep:
frequency_sweep = [["linear scale", "0.1GHz", "10GHz", "0.1GHz"]]
elif not isinstance(frequency_sweep[0], list):
frequency_sweep = [frequency_sweep]

if not name:
name = generate_unique_name("sweep")
Expand Down

0 comments on commit bc4bbd7

Please sign in to comment.