Skip to content

Commit

Permalink
Merge pull request #73 from siyuan-chen/fdjump
Browse files Browse the repository at this point in the history
fix bug with missing parameter definition fddmct
  • Loading branch information
siyuan-chen authored Dec 6, 2024
2 parents 8dc6960 + d904ab6 commit 17a4bbd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libstempo/libstempo.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -901,6 +901,7 @@ cdef class tempopulsar:
newpar = create_tempojump(&self.psr[0],ct,self.units)
self.pardict[newpar.name] = newpar

fddmct = 0
for ct in range(1,self.psr[0].nfdJumps+1): # jump 1 in the array not used...
if self.psr[0].fdjumpIdx[ct] == -2:
fddmct += 1
Expand Down

0 comments on commit 17a4bbd

Please sign in to comment.