# Help understanding besselk deprecation warning

**URL:** <https://discourse.julialang.org/t/help-understanding-besselk-deprecation-warning/4449>\
**Category:** General Usage\
**Created:** [June 25, 2017, 4:45pm UTC](https://discourse.julialang.org/t/help-understanding-besselk-deprecation-warning/4449 "2017-06-25T16:45:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![juliohm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/juliohm/32/215266_2.png) [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Post date:** [June 25, 2017, 4:45pm UTC](https://discourse.julialang.org/t/help-understanding-besselk-deprecation-warning/4449/1 "2017-06-25T16:45:56Z")

</div>

This is what I get in Julia v0.6:

```julia
WARNING: besselk{T1 <: Number}(x::Number, y::AbstractArray{T1}) is deprecated, use ($(Expr(:globalref, Compat, Symbol("@compat"))))(besselk.(x, y)) instead.

```

Can you elaborate on this substitution? Is the warning message correct?

---

<div class="post-metadata">

**Author:** ![adamslc](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adamslc/32/3452_2.png) [@adamslc](https://discourse.julialang.org/u/adamslc)\
**Post date:** [June 25, 2017, 5:01pm UTC](https://discourse.julialang.org/t/help-understanding-besselk-deprecation-warning/4449/2 "2017-06-25T17:01:12Z")

</div>

I think it is saying (in a very confusing way), that you should use `@compat besselk.(x,y)`. If you don’t want to support lower versions of Julia, you can probably drop the `@compat` entirely.

---

<div class="post-metadata">

**Author:** ![juliohm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/juliohm/32/215266_2.png) [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Post date:** [June 25, 2017, 5:08pm UTC](https://discourse.julialang.org/t/help-understanding-besselk-deprecation-warning/4449/3 "2017-06-25T17:08:33Z")

</div>

Thank you @adamslc 🙂
