Update function to Julia 1.x syntax
New here? Learn about Bountify and follow @bountify to get notified of new bounties! x

The function here runs correctly on Julia 0.4.7, but breaks on 0.7.0 and 1.x:

https://github.com/suchow/BayesianDataFusion.jl/blob/1d7820554c07f2ab6860ed3b58bd7f73f375e7c0/src/normal_wishart.jl#L7
It gives the following deprecation warning:

 Warning: Deprecated syntax `immutable` at /home/travis/build/suchow/BayesianDataFusion.jl/src/normal_wishart.jl:7.
 Use `struct` instead.
 @ ~/build/suchow/BayesianDataFusion.jl/src/normal_wishart.jl:7

Your task is to submit a PR that upgrades this function to match Julia 1.x syntax.

3 months ago

Crowdsource coding tasks.

0 Solutions