Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
Signed-off-by: Avik Basu <[email protected]>
  • Loading branch information
ab93 committed Jul 10, 2023
1 parent f2d18a4 commit 592b998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numaprom/udf/postprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def _publish(final_score: float, payload: StreamPayload) -> list[bytes]:
)

# If the unified anomaly is -1, we don't want to publish it
if unified_anomaly > 0:
if unified_anomaly >= 0:
unified_json = __construct_unified_payload(
payload, unified_anomaly, unified_config
).as_json()
Expand Down

0 comments on commit 592b998

Please sign in to comment.