Skip to content

Commit 6daa733

Browse files
committed
fix: rename np.NAN to np.nan for np 2.0+ compatibility
1 parent b18833a commit 6daa733

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphein/rna/nussinov.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def initialize(
148148
"""
149149

150150
DP = np.empty((N, N))
151-
DP[:] = np.NAN
151+
DP[:] = np.nan
152152
for k in range(MIN_LOOP_LENGTH):
153153
for i in range(N - k):
154154
j = i + k

0 commit comments

Comments
 (0)