refactor: some value_cast<U>(q) replaced with q.force_in(U)

This commit is contained in:
Mateusz Pusz
2023-09-13 10:43:08 +02:00
parent f7f63e8c4c
commit a6284aa293
4 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ void si_example()
<< "E = " << E3 << "\n";
std::cout << "\n[converted from SI units back to GeV]\n"
<< "E = " << value_cast<GeV>(E3) << "\n";
<< "E = " << E3.force_in(GeV) << "\n";
}
void natural_example()