[msvc][fix] a lot of brackets where msvc prefers

the type and not the value. (Issue reported)
This commit is contained in:
Jonas Hoppe
2024-09-03 09:43:34 +02:00
parent 5d3ed201b6
commit 30ac2882bd
19 changed files with 680 additions and 655 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ int main()
constexpr auto RR = isq::resistance(4.7 * si::kilo<si::ohm>);
for (auto tt = 0 * ms; tt <= 50 * ms; ++tt) {
const QuantityOf<isq::voltage> auto Vt = V0 * exp(dimensionless(-tt / (RR * CC)));
const QuantityOf<(isq::voltage)> auto Vt = V0 * exp(dimensionless(-tt / (RR * CC)));
// TODO try to make the below work instead
// const QuantityOf<isq::voltage> auto Vt = V0 * exp(-tt / (RR * CC));