summaryrefslogtreecommitdiff
path: root/lib/superfox/sfox_remove_tone.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-09-26 23:24:03 +0200
committerChristoph Berg <myon@debian.org>2026-09-26 23:24:03 +0200
commit059831534c7e884f0a607ed86b582fd00d821731 (patch)
tree76bcb67a78f8aa2654fd34c2ad801a62136b0170 /lib/superfox/sfox_remove_tone.f90
parentd83a420f0517d7fc47aeb288a6a0cf4891784fcc (diff)
New upstream version 3.2.0~rc1+dfsgupstream/3.2.0_rc1+dfsg
Diffstat (limited to 'lib/superfox/sfox_remove_tone.f90')
-rw-r--r--lib/superfox/sfox_remove_tone.f901
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/superfox/sfox_remove_tone.f90 b/lib/superfox/sfox_remove_tone.f90
index c8f9e033..35a6fbec 100644
--- a/lib/superfox/sfox_remove_tone.f90
+++ b/lib/superfox/sfox_remove_tone.f90
@@ -68,6 +68,7 @@ subroutine sfox_remove_tone(c0,fsync)
s0=s0+s(i)
s1=s1+(i-i0)*s(i)
enddo
+ if(.not. (s0 .gt. 0.0)) exit
delta=s1/s0
i0=nint(i0+delta)
f2=i0*df