Code for: Same-sex sexual behaviour and selection for indiscriminate mating - Lerch, Brian (2020)