Invariant fixes
Invariant fixes


Former-commit-id: 6bc650ada11bc60534ec929683f0f3a38aa3b87f [formerly c7bf13ca827432cc47bc19d74aa7c60c30a42556] [formerly 250a98dd15c6a8a9737d7b5a76b8b0a634d2087d [formerly b67fb1f6de3ff501d3428c159f2dbf4087edf4f2]]
Former-commit-id: 0a5d4c998296e2fb43f0cc73b0330939869ac09b
Former-commit-id: 3e3b88d7b4dd29a3e5e47e01639d0393d2e3f78a

neurodata/ndmg