gchen98 / macs

Automatically exported from code.google.com/p/macs
16 stars 6 forks source link

compilation error for version of c++11 or higher #40

Closed jikhashkya closed 4 years ago

jikhashkya commented 4 years ago

Line 557 of simulator.h: static const double dEpsilon = 1e-6; should be changed to static constexpr double dEpsilon = 1e-6;

gchen98 commented 4 years ago

Hi Pramesh,

Thanks for catching this! Since I didn't see any particular reason I needed to make this a static variable I removed that static qualifier and checked in to Git. Let me know if you run into any other issues.

Best,

Gary