Skip to content

Commit fbe97fd

Browse files
authored
Merge pull request #2 from j-nava/master
Fix undeclared variable issue in fromNumberImpl
2 parents 1ca78fe + f6b40b9 commit fbe97fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Data/Float32.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ exports.fromNumberImpl = function fromNumberImpl (x) {
1313
return Number.NEGATIVE_INFINITY;
1414
} else {
1515
var r = new Float32Array(1);
16-
r[0] = s;
16+
r[0] = x;
1717
return r[0];
1818
}
1919
}

0 commit comments

Comments
 (0)