Commit 8a8bc0dd authored by Vivien Kraus's avatar Vivien Kraus
Browse files

Ooops :)

parent 19bfa058
...@@ -250,7 +250,7 @@ ai_construct_fuzzy (TarotAi * ai, double fuzziness, size_t seed_size, ...@@ -250,7 +250,7 @@ ai_construct_fuzzy (TarotAi * ai, double fuzziness, size_t seed_size,
ai_copy_fresh (&(state->base), base); ai_copy_fresh (&(state->base), base);
state->fuzziness = fuzziness; state->fuzziness = fuzziness;
yarrow256_init (&(state->prng), 0, NULL); yarrow256_init (&(state->prng), 0, NULL);
yarrow256_seed (&(state->prng), sizeof (seed), seed); yarrow256_seed (&(state->prng), seed_size, seed);
ai_construct (ai, state, ai_fuzzy_eval, ai_fuzzy_learn, ai_construct (ai, state, ai_fuzzy_eval, ai_fuzzy_learn,
ai_fuzzy_dup, ai_fuzzy_destruct); ai_fuzzy_dup, ai_fuzzy_destruct);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment