[msvc][fix] a lot of brackets where msvc prefers
the type and not the value. (Issue reported)
This commit is contained in:
1 parent
5d3ed201b6
commit
30ac2882bd
19 files changed
+680
-655
No files matched your search
@@ -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));
|
||||
|
||||
|
||||
Reference in new issue
Block a user