Avatar for the deepmodeling user
deepmodeling
dpdata
BlogDocsChangelog

Fix: pyright error: Type "floating[Any]" is not assignable to return type "ndarray[Unknown, Unknown]"

#765Merged
Comparing
wanghan-iapcm:fix-pyright
(
663bdf6
) with
devel
(
5423efe
)
CodSpeed Performance Gauge
-2%
Improvements
0
Regressions
0
Untouched
2
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

test_cli
benchmark/test_import.py::test_cli
CodSpeed Performance Gauge
+1%
243 µs
240.6 µs
test_import
benchmark/test_import.py::test_import
CodSpeed Performance Gauge
-5%
258.8 µs
273.6 µs

Commits

Click on a commit to change the comparison range
Base
devel
5423efe
-3%
fix: pyright error: Type "floating[Any]" is not assignable to return type "ndarray[Unknown, Unknown]"
7c14d45
29 days ago
0%
narrow types
099a163
29 days ago
by njzjz
+1%
Fix NPY<2 compatibility Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
c1c93fb
26 days ago
by njzjz
-1%
Fix "ValueError: The truth value of an empty array is ambiguous. Use `array.size > 0` to check that an array is not empty." Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
c1d07a7
20 days ago
by njzjz
+1%
pin ubuntu to 22.04 see https://github.com/actions/setup-python/issues/962 Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
663bdf6
20 days ago
by njzjz
Home Terms PrivacyDocs