(Sorry for the new thread, I accidentally deleted the other email)


I took a look at this again, and I have a constructor that takes an int, and it still does not work.  My workaround for this was to change the 0 to static_cast<T>(0).





------------- Peter’s email --------------


> core/vgl/vgl_conic.txx:119: error: operands to ?: have different
 The problem lies in the fact that 0 is an integer and rx*rx is of type
 T, and the compiler flagged them as incompatible.
 It suffices to provide an automatic cast from int to your new type,
 i.e., to add a constructor which takes an int (or an int const&) as
 --     Peter.