Allow fixed parameters for C++ fitting code