Skip to content

Commit

Permalink
Fix path in R.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas CHABALIER committed Dec 19, 2023
1 parent 8379c5c commit 172c994
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/org/math/R/R.js
Original file line number Diff line number Diff line change
Expand Up @@ -562,12 +562,12 @@

function SysSetEnv(kv) {
for(var k in kv) {
Java.type('org.math.R.R2js.AbstractR2jsSession').setEnv(k,kv[k]);
Java.type('org.math.R.AbstractR2jsSession').setEnv(k,kv[k]);
}
}

function SysGetEnv(k) {
var v = Java.type('org.math.R.R2js.AbstractR2jsSession').getEnv(k);
var v = Java.type('org.math.R.AbstractR2jsSession').getEnv(k);
if (isNull(v))
return '';
return v;
Expand Down

0 comments on commit 172c994

Please sign in to comment.