How to code a type-flexible model that is type stable?

That seems to do the trick, and is also faster than option 3. I think this will work with my real code. Many thanks for the help. Awesome.

1 Like