Hippo8085
Shaken, not stirred
Just as a wild guess without opening the game to see for myself: on line 459 of CvRFCEventHandler.py it should be con.iCivicEgalitarianism instead of con.iEgalitarianism
It's part of the base game. I don't know why it cannot be found.
It's not an economic calculation at all. I'm doing a linear regression over the commerce data points to smooth out all the spikes in the commerce graph.What kind of economic calculation is that? Kensyan economics?
Now I'm seeing that you're proposing to change linear algebra
I'm currently at a loss to see when such an error would occur. Can you give me a save where it happens?
Edit: as for the other bug, I'm aware of it, but CyCity::getCulture(int iPlayer) is clearly defined so that is not the problem.
I know that a vertical line isn't a function. But returning an infinite gradient is just as wrong and would only result in further errors.In linear algebra the gradient can be infinite (it is a vertical line), but have in mind that a vertical line ISN't a function (well, it is the only case, that a line isn't a function). I don't have problem with linear algebra, but the implementation is buggy. You should check for zero det and return infinite a and b .
Yep, that would help.It happens during autosave, waiting for the Dutch, so it is difficult to form or spot the exact autosave. I'll post one as soon as I find one.
It does, and CvCity::getCulture() does exist. The code wouldn't even compile if it didn't.CyCity refers to the m_pCity. I suppose that m_pCity is a CvCity pointer, so CyCity.getCulture calls CvCity.getCulture which is absent.