gcc-9 compilation fixed

This commit is contained in:
Mateusz Pusz
2020-03-05 11:40:05 +01:00
parent 5a72983c47
commit af6358fbdb

View File

@ -41,7 +41,7 @@ int main()
constexpr auto R = 4.7q_kR;
for (auto t = 0q_ms; t <= 50q_ms; ++t) {
const Voltage auto Vt = V0 * std::exp(-t / (R * C));
const Voltage AUTO Vt = V0 * std::exp(-t / (R * C));
std::cout << "at " << t << " voltage is ";