# Genetic Algorithms in Elixir: Genetic.run argument order (page 30)

**URL:** <https://forum.devtalk.com/t/genetic-algorithms-in-elixir-genetic-run-argument-order-page-30/7818>\
**Category:** PragProg Customers\
**Tags:** book-genetic-algorithms-in-elixir, errata\
**Created:** [12 March 2021 17:10 UTC](https://forum.devtalk.com/t/genetic-algorithms-in-elixir-genetic-run-argument-order-page-30/7818 "2021-03-12T17:10:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![seanmor5](https://forum.devtalk.com/user_avatar/forum.devtalk.com/seanmor5/32/1169_2.png) [@seanmor5](https://forum.devtalk.com/u/seanmor5)\
**Post date:** [16 March 2021 19:42 UTC](https://forum.devtalk.com/t/genetic-algorithms-in-elixir-genetic-run-argument-order-page-30/7818/2 "2021-03-16T19:42:08Z")

</div>

Thanks for pointing this out! Swapping `fitness_function` and `genotype` will fix this. I’ll mark this for the next version as well!

---

_[View the full topic](https://forum.devtalk.com/t/genetic-algorithms-in-elixir-genetic-run-argument-order-page-30/7818)._
