Skip to content

Commit

Permalink
Fix interactive parameter definition (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
a5kin committed May 13, 2019
1 parent 218a96e commit a1d7d09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xentica/core/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def dtype(self):

def _declare_interactive(self):
"""Do necessary stuff to declare interactive parameter."""
if self.bsca.is_parameter(self):
if self.bsca.is_parameter(self.name):
return
self.bsca.define_parameter(self)

Expand Down

0 comments on commit a1d7d09

Please sign in to comment.