Update src/distribution.cpp

Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
Olaf Schumann 2021-09-29 17:10:34 +02:00 committed by GitHub
parent 3fde9412f4
commit 1c47fb2059
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -325,7 +325,7 @@ double Mixture::sample(uint64_t* seed) const
// This should not happen. Catch it
Ensures(it != distribution_.cend());
// Sample the choosen distribution
// Sample the chosen distribution
return it->second->sample(seed);
}