# Bug in RootsAndPoles.jl Package?

**URL:** <https://discourse.julialang.org/t/bug-in-rootsandpoles-jl-package/95437>\
**Category:** General Usage\
**Tags:** question, bug\
**Created:** [March 2, 2023, 12:04pm UTC](https://discourse.julialang.org/t/bug-in-rootsandpoles-jl-package/95437 "2023-03-02T12:04:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bjs](https://avatars.discourse-cdn.com/v4/letter/b/b38774/32.png) [@bjs](https://discourse.julialang.org/u/bjs)\
**Post date:** [March 2, 2023, 12:04pm UTC](https://discourse.julialang.org/t/bug-in-rootsandpoles-jl-package/95437/1 "2023-03-02T12:04:03Z")

</div>

Recently, I tried the package `RootsAndPoles.jl` (v2.0.0) with standard parameters as described on github’s readme and tested it with the simple complex `f(z)=Log(z)` function with the attached result.

The root at `z=1` is clear but the `log(z)` has no pole at `z=-1`. Is this a bug in the package or do I overlook anything?

![poles_roots_logarithm](https://global.discourse-cdn.com/julialang/original/3X/9/7/9738043660f9620b667f9adc58b11866989b75b5.png)
