ztlawton / workshoplocator

0 stars 0 forks source link

Application crashes #2

Closed JamesBremner closed 1 year ago

JamesBremner commented 1 year ago

I download commit b9a9bf3c9a140433714a0aab5eedd129b144c32b

I built it successfully :-)

But a test run crashed immediately

Input Workshop Mix
Enter number of each workshop type in order
Agriculture Biotech Electronics Energy HeavyIndustry
2 2 2 2 2
terminate called after throwing an instance of 'std::runtime_error'
  what():  cWorkshop::CalcActualTemp unrecognized module type    
JamesBremner commented 1 year ago

Cause: a bug in my code. I will fix it in my repository.

JamesBremner commented 1 year ago

Committed https://github.com/JamesBremner/workshoplocator/commit/0dea501caa9c9f8d4055d18a971703e30cb57d51

JamesBremner commented 1 year ago

Did my fix work?

JamesBremner commented 1 year ago

I believe you can close this now.