mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-01 19:34:29 +02:00
gcc-9 compilation fixed
This commit is contained in:
@@ -41,7 +41,7 @@ int main()
|
|||||||
constexpr auto R = 4.7q_kR;
|
constexpr auto R = 4.7q_kR;
|
||||||
|
|
||||||
for (auto t = 0q_ms; t <= 50q_ms; ++t) {
|
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 ";
|
std::cout << "at " << t << " voltage is ";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user