diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2022-05-15 16:51:41 -0230 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2022-05-15 16:51:41 -0230 |
| commit | 585fbf852c1e76470df42ebe99ede62440ce19d9 (patch) | |
| tree | 4bb5406eb0e1d1a978e21de1e6c4291c22510d39 /compressor | |
| parent | 98a5ded8daccbb576b2928359112c6454fd0c5b3 (diff) | |
| download | volute-585fbf852c1e76470df42ebe99ede62440ce19d9.zip | |
simplify unit conversion
Diffstat (limited to 'compressor')
| -rw-r--r-- | compressor/compressor.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compressor/compressor.go b/compressor/compressor.go index 9e03cbb..efe792e 100644 --- a/compressor/compressor.go +++ b/compressor/compressor.go @@ -93,7 +93,7 @@ func init() { if err != nil { return err } - c.MaxFlow = mass.NewFlowRate(flow.FlowVal, u) + c.MaxFlow = mass.FlowRate(flow.FlowVal) * u compressors[man][ser][mod] = c |