style: apply rustfmt across all crates and demos
Consistent formatting pass: line wrapping, import sorting, trailing whitespace removal, let-chain indentation, merged derive attributes, and unsafe block reformatting. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
This commit is contained in:
@@ -377,7 +377,10 @@ impl GMPE for AttenuationModel {
|
||||
let pgd = pgv * 0.1 * (source.magnitude - 4.0).max(1.0);
|
||||
|
||||
// Calculate MMI
|
||||
let mmi = f64::midpoint(GroundMotion::estimate_mmi_from_pga(pga), GroundMotion::estimate_mmi_from_pgv(pgv));
|
||||
let mmi = f64::midpoint(
|
||||
GroundMotion::estimate_mmi_from_pga(pga),
|
||||
GroundMotion::estimate_mmi_from_pgv(pgv),
|
||||
);
|
||||
|
||||
GroundMotion {
|
||||
pga,
|
||||
|
||||
Reference in New Issue
Block a user