timholy / Grid.jl

Interpolation and related operations on grids
MIT License
47 stars 26 forks source link

Replace nan(T) with convert(T, NaN) to stop deprecation warnings in Julia v0.4 #52

Closed swt30 closed 9 years ago

swt30 commented 9 years ago

Looks like Julia v0.4 will deprecate the nan(T) function in favour of convert(T, NaN). I was trying to get Grid working on v0.4 and changed this to stop the deprecation warnings.

Grid won't pass the rest of its tests on the v0.4 nightlies because of [#51], which I don't yet understand well enough to fix, but on v0.3 everything is fine.

timholy commented 9 years ago

Thanks!