summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fhunit.pas2
1 files changed, 2 insertions, 0 deletions
diff --git a/fhunit.pas b/fhunit.pas
index 7aba5dc..555999c 100644
--- a/fhunit.pas
+++ b/fhunit.pas
@@ -219,6 +219,8 @@ begin
exit;
if (t='--') and (mG=mgGlobalstrahlung) then
_mW[mG]:=0
+ else if t='--' then
+ _mW[mG]:=nan
else
_mW[mG]:=strtofloat(t);
end;