Fix Julia 0.6 warnings
Closed this issue · 0 comments
mykelk commented
These should be easy to fix. I'm okay with dropping 0.5 in a new release.
WARNING: deprecated syntax "abstract AbstractDiscretizer{N,D}" at C:\Users\Mykel\.julia\v0.6\Discretizers\src\common.jl:6.
Use "abstract type AbstractDiscretizer{N,D} end" instead.
WARNING: deprecated syntax "abstract DiscretizationAlgorithm" at C:\Users\Mykel\.julia\v0.6\Discretizers\src\common.jl:16.
Use "abstract type DiscretizationAlgorithm end" instead.
WARNING: deprecated syntax "abstract AbstractSampleMethod" at C:\Users\Mykel\.julia\v0.6\Discretizers\src\sample_methods.jl:2.
Use "abstract type AbstractSampleMethod end" instead.
WARNING: deprecated syntax "abstract DiscretizeMODL<:DiscretizationAlgorithm" at C:\Users\Mykel\.julia\v0.6\Discretizers\src\disc_MODL.jl:5.
Use "abstract type DiscretizeMODL<:DiscretizationAlgorithm end" instead.