# Genetic Algorithms in Elixir: mismatch between order\_one function naming (page 92, 94)

**URL:** <https://forum.devtalk.com/t/genetic-algorithms-in-elixir-mismatch-between-order-one-function-naming-page-92-94/7812>\
**Category:** PragProg Customers\
**Tags:** book-genetic-algorithms-in-elixir, errata\
**Created:** [12 March 2021 15:37 UTC](https://forum.devtalk.com/t/genetic-algorithms-in-elixir-mismatch-between-order-one-function-naming-page-92-94/7812 "2021-03-12T15:37:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joustava](https://forum.devtalk.com/user_avatar/forum.devtalk.com/joustava/32/2549_2.png) [@joustava](https://forum.devtalk.com/u/joustava)\
**Post date:** [12 March 2021 15:37 UTC](https://forum.devtalk.com/t/genetic-algorithms-in-elixir-mismatch-between-order-one-function-naming-page-92-94/7812/1 "2021-03-12T15:37:47Z")

</div>

@seanmor5

On page 92: the order\_one crossover type is declared as

```auto
def order_one_crossover(p1, p2) do

```

On page 94: The default is set to

```auto
&Toolbox.Crossover.order_one/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:43 UTC](https://forum.devtalk.com/t/genetic-algorithms-in-elixir-mismatch-between-order-one-function-naming-page-92-94/7812/2 "2021-03-16T19:43:18Z")

</div>

Thanks! It should be `order_one_crossover` to match the rest of the implementations. I believe there may be some additional bad references to `single_point` versus `single_point_crossover` as well. I’ll put fix this for the next version as well!
