I was hoping you would be able to help me with a problem which I don't understand.
At some point in my program I am getting a not-a-number value for a certain parameter which later causes an error.
However, when I was trying to find the reason for the nan by printing the parameters that compose it - the problem disappears. All the parameters seem to have a value and the error is gone.
Any advice as for how to start debugging this???