mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-03 20:34:26 +02:00
feat: convertibility of a quantity with a unit one
with the raw value added
Resolves #553
This commit is contained in:
@@ -64,7 +64,7 @@ int main()
|
||||
state next = initial_guess;
|
||||
for (int index = 1; const auto& measurement : measurements) {
|
||||
const state& previous = next;
|
||||
const quantity gain = 1. / index * one;
|
||||
const quantity gain = 1. / index;
|
||||
const state current = state_update(previous, measurement, gain);
|
||||
next = current;
|
||||
print(index++, gain, measurement, current, next);
|
||||
|
Reference in New Issue
Block a user