Skip to content

Commit

Permalink
Merge pull request #20 from jobar8:jobar8/issue18
Browse files Browse the repository at this point in the history
Fix hopalong out of order parameters
  • Loading branch information
jobar8 authored Oct 21, 2024
2 parents 57c1ea6 + 1ba6163 commit 9470187
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/attractor_explorer/attractors.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ def __call__(self, n):
class Hopalong1(Attractor):
equations = (r'$x_{n+1} = y_n-\mathrm{sgn}(x_n)\sqrt{\left|\ bx_n-c\ \right|}$', r'$y_{n+1} = a-x_n$')

a = param.Number(9.8, bounds=(0, 10))
b = param.Number(4.1, bounds=(0, 10))
c = param.Number(3.8, bounds=(0, 10), doc='Attractor parameter c')
a = param.Number(9.8, softbounds=(0, 10), step=0.05, precedence=0.2)
b = param.Number(4.1, softbounds=(0, 10), step=0.05, precedence=0.21)
c = param.Number(3.8, softbounds=(0, 10), step=0.05, doc='Attractor parameter c', precedence=0.22)

@staticmethod
@jit(cache=True)
Expand Down

0 comments on commit 9470187

Please sign in to comment.