summaryrefslogtreecommitdiff
path: root/src/lvm.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <giann008@gmail.com>2017-05-20 12:20:24 +0200
committerBenoit Giannangeli <giann008@gmail.com>2017-05-20 16:56:22 +0200
commit4512e064eac90fa8193329fdd78a873bc0cf2b5e (patch)
treea19c08ed0341b52ae640af81d1a923d52a2b48b3 /src/lvm.js
parentcc5664dc1fca1d726c744165393d7137eea7bd83 (diff)
parentd8e0d9fdde537bbafb244a60ebaa40b647481a5f (diff)
downloadfengari-4512e064eac90fa8193329fdd78a873bc0cf2b5e.tar.gz
fengari-4512e064eac90fa8193329fdd78a873bc0cf2b5e.tar.bz2
fengari-4512e064eac90fa8193329fdd78a873bc0cf2b5e.zip
Merge branch 'master' of https://github.com/fengari-lua/fengari into test-suite
Diffstat (limited to 'src/lvm.js')
-rw-r--r--src/lvm.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lvm.js b/src/lvm.js
index df4f62f..6857b1d 100644
--- a/src/lvm.js
+++ b/src/lvm.js
@@ -835,7 +835,7 @@ const LTnum = function(l, r) {
if (r.ttisinteger())
return l.value < r.value ? 1 : 0;
else
- return LTintfloat(r.value, l.value);
+ return LTintfloat(l.value, r.value);
} else {
if (r.ttisfloat())
return l.value < r.value ? 1 : 0;