Add a missing pack_states flag in the states_dim_copy routine.
Description
Add a missing pack_states flag in the states_dim_copy routine.
News snippet
Internal bug fix.
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.