fix: the replicate will fail if the atom types of system is not sorted #67
Annotations
3 errors
pyright:
dpdata/system.py#L779
No overloads for "tile" match the provided arguments (reportCallIssue)
|
pyright:
dpdata/system.py#L779
Argument of type "tuple[int64, Literal[1]]" cannot be assigned to parameter "reps" of type "int | Sequence[int]" in function "tile"
Type "tuple[int64, Literal[1]]" is incompatible with type "int | Sequence[int]"
"tuple[int64, Literal[1]]" is incompatible with "int"
"tuple[int64, Literal[1]]" is incompatible with "Sequence[int]"
Type parameter "_T_co@Sequence" is covariant, but "int64 | Literal[1]" is not a subtype of "int"
Type "int64 | Literal[1]" is incompatible with type "int"
"signedinteger[_64Bit]" is incompatible with "int" (reportArgumentType)
|
pyright
2 errors
|