avoid segfault in fida weight calculation when the neutral density is zero. prevent negative bremstrulung