Flatten to a vector

This is just because you are not passing any arguments to flatten, and the default behavior is to flatten Real. Maybe that’s not well enough documented.

If you want the inner values, use flatten(nn, Int64) and it will look inside the Rational numbers for Int64.