From af6358fbdb06a2ad46aa78d6a0887e7b282fe6ab Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Thu, 5 Mar 2020 11:40:05 +0100 Subject: [PATCH] gcc-9 compilation fixed --- example/capacitor_time_curve.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/capacitor_time_curve.cpp b/example/capacitor_time_curve.cpp index 550aa498..4281ff0f 100644 --- a/example/capacitor_time_curve.cpp +++ b/example/capacitor_time_curve.cpp @@ -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 ";