Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
jairad26 committed Oct 8, 2024
1 parent e22ff72 commit 0287d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/assemblyscript/src/assembly/vectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function checkValidArray<T extends number>(a: T[]): void {
}

export function checkValidNumber<T extends number>(a: T): void {
if (!isInteger(a) && !isFloat(a) && !isSigned(a)) {
if (!isInteger(a) && !isFloat(a)) {
throw new Error("Vector must contain numbers.");
}
}
Expand Down

0 comments on commit 0287d7f

Please sign in to comment.