dimension_sqrt and dimension_pow support added
This commit is contained in:
1 parent
36fd4ba97a
commit
021df4a46f
2 files changed
+28
-1
No files matched your search
@@ -90,6 +90,9 @@ template<> struct downcasting_traits<downcast_from<volt_per_sqrt_hertz>> : downc
|
||||
|
||||
namespace {
|
||||
|
||||
static_assert(std::is_same_v<dimension_sqrt_t<power_spectral_density>, amplitude_spectral_density>);
|
||||
static_assert(std::is_same_v<dimension_pow_t<amplitude_spectral_density, 2>, power_spectral_density>);
|
||||
|
||||
//static_assert(sqrt(quantity<sq_volt_per_hertz>(4)) = quantity<volt_per_sqrt_hertz>(2));
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user