BRAINSia/ANTS — pull request #5 by Chaircrusher (2012-07-03 16:47:14+00:00)
Title: COMP: Fixed warning in ANTS_affine_registration2.h

This fixes the warning and adds a check to make sure that the cast succeeds.

It doesn't address the unfortunate design decision in this class -- the biggest being using SmartPointer classes as template arguments. I've looked a couple of times at this and given up trying to straighten it out. It's such a nest of badly specified template types that if you try and fix it one place it breaks a dozen others.