Skip to content

Commit

Permalink
revert bigint handling of numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
cd1m0 committed Mar 23, 2024
1 parent 3f42df5 commit 5e4d135
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/fact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,6 @@ export function ppFieldVal(val: FieldVal, typ: DatalogType): string {
}

function parseFieldValFromCsv(val: any, typ: DatalogType): FieldVal {
if (typ === NumberT || typ === UnsignedT) {
return BigInt(val);
}

if (typ === NumberT || typ === UnsignedT || typ === FloatT) {
return Number(val);
}
Expand Down

0 comments on commit 5e4d135

Please sign in to comment.