Skip to content

Commit ec5d81e

Browse files
committed
fix declaration of material properties
1 parent b68a82d commit ec5d81e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/ComputeSpeedOfSoundTest2.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
int main(const int argc, const char* const* argv) {
2525
using namespace mgis;
2626
using namespace mgis::behaviour;
27-
const auto yg = 150e9;
28-
const auto rho = 7850;
27+
const auto yg = real{150e9};
28+
const auto rho = real{7850};
2929
if (argc != 2) {
3030
std::cerr << "ComputeSpeedOfSoundTest: invalid number of arguments\n";
3131
std::exit(-1);

0 commit comments

Comments
 (0)