NaN checking in backends/gr.jl (#3514)

* Updated .zenodo.json infos

* resolved NaN-checking
This commit is contained in:
BerndR 2021-05-19 20:33:33 +02:00 committed by GitHub
parent 1ecec912a1
commit 827462dc21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -452,8 +452,10 @@
"type": "Other" "type": "Other"
}, },
{ {
"affiliation": "University of Graz",
"name": "Bernd Riederer", "name": "Bernd Riederer",
"type": "Other" "type": "Other",
"orcid": "0000-0001-8390-0087"
}, },
{ {
"name": "Christina Lee", "name": "Christina Lee",

View File

@ -401,7 +401,7 @@ end
function gr_nans_to_infs!(z) function gr_nans_to_infs!(z)
for (i,zi) in enumerate(z) for (i,zi) in enumerate(z)
if zi == NaN if isnan(zi)
z[i] = Inf z[i] = Inf
end end
end end