# Optimize not working with function that has find\_zero

**URL:** <https://discourse.julialang.org/t/optimize-not-working-with-function-that-has-find-zero/24043>\
**Category:** Optimization (Mathematical)\
**Tags:** question\
**Created:** [May 9, 2019, 6:00pm UTC](https://discourse.julialang.org/t/optimize-not-working-with-function-that-has-find-zero/24043 "2019-05-09T18:00:52Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![rdeits](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rdeits/32/286_2.png) [@rdeits](https://discourse.julialang.org/u/rdeits)\
**Post date:** [May 9, 2019, 6:09pm UTC](https://discourse.julialang.org/t/optimize-not-working-with-function-that-has-find-zero/24043/3 "2019-05-09T18:09:17Z")

</div>

Could you please edit your post to make it a bit easier to read (and therefore easier to help you)? If you [format your code with backticks](https://discourse.julialang.org/t/psa-how-to-quote-code-with-backticks/7530) then it will render properly, and if you can add the actual error message or incorrect result you’re getting, then we’ll be able to more easily figure out what’s wrong and how to fix it.

Edit: sorry for the double-post. I’m just echoing what @odow said.

---

_[View the full topic](https://discourse.julialang.org/t/optimize-not-working-with-function-that-has-find-zero/24043)._
