Skip to content

Commit 8b9e8d7

Browse files
committed
Fix #68
1 parent d666782 commit 8b9e8d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lambda-calculus.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export function toInt(term) {
147147
} else if ( config.numEncoding === "None" )
148148
return term;
149149
else
150-
return numEncoding.toInt(term); // Custom encoding
150+
return config.numEncoding.toInt(term); // Custom encoding
151151
} catch (e) {
152152
if ( config.verbosity >= "Concise" ) console.error(`toInt: ${ term } is not a number in numEncoding ${ numEncoding }`);
153153
throw e;

0 commit comments

Comments
 (0)