fix(timeMachine): change derivative to 1s (#19776)

pull/19780/head
Russ Savage 2020-10-19 11:03:26 -07:00 committed by GitHub
parent 683aa014c2
commit 06f1e80216
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -33,11 +33,11 @@ export const genFlux = (
switch (func) {
case 'derivative': {
return `|> derivative(unit: ${period}, nonNegative: false)`
return `|> derivative(unit: 1s, nonNegative: false)`
}
case 'nonnegative derivative': {
return `|> derivative(unit: ${period}, nonNegative: true)`
return `|> derivative(unit: 1s, nonNegative: true)`
}
case 'median':