From 7374b90c438e88172b361d3b6363a9612c1fbfab Mon Sep 17 00:00:00 2001 From: Hagen Wierstorf Date: Fri, 30 Aug 2024 15:31:16 +0200 Subject: [PATCH] Fix expected result for nan in docstring --- audpsychometric/core/gold_standard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audpsychometric/core/gold_standard.py b/audpsychometric/core/gold_standard.py index 12a4a94..013a758 100644 --- a/audpsychometric/core/gold_standard.py +++ b/audpsychometric/core/gold_standard.py @@ -89,7 +89,7 @@ def agreement_numerical( >>> agreement_numerical([0, 0], 0, 1) 1.0 >>> agreement_numerical([0, np.nan], 0, 1) - nan + 1.0 """ ratings = np.atleast_2d(np.array(ratings))