File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
com.oracle.truffle.r.library/src/com/oracle/truffle/r/library/stats Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ Added missing R builtins and C APIs:
2020* define dummy ` XLENGTH ` macro if ` USE_RINTERNALS ` is defined
2121 * non-existence of this macro is used by some packages to detect old R versions
2222* ` IS_LONG_VEC ` C API function
23+ * when loading native symbol dynamically, FastR also checks the name with trailing underscode to be compatible with GNU-R
24+
25+ # 20.2.0
2326
2427Bug fixes:
2528
@@ -29,7 +32,6 @@ Bug fixes:
2932Added missing R builtins and C APIs
3033
3134* Dummy implementations of ` X_IS_SORTED ` and ` X_NO_NA ` for ` X = STRING,INTEGER,REAL ` #156
32- * when loading native symbol dynamically, FastR also checks the name with trailing underscode to be compatible with GNU-R
3335
3436# 20.1.0
3537
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ private RandFunctionsNodes() {
9494 protected abstract static class ConvertToLength extends Node {
9595 public abstract int execute (RAbstractVector value );
9696
97- @ Specialization (guards = "dataLib.getLength(vector) == 1" )
97+ @ Specialization (guards = "dataLib.getLength(vector.getData() ) == 1" )
9898 public int lengthOne (RAbstractVector vector ,
9999 @ Cached ("createNonPreserving()" ) CastIntegerNode castNode ,
100100 @ CachedLibrary (limit = "getCacheSize(2)" ) VectorDataLibrary dataLib ,
@@ -108,7 +108,7 @@ public int lengthOne(RAbstractVector vector,
108108 return result ;
109109 }
110110
111- @ Specialization (guards = "dataLib.getLength(vector) != 1" , limit = "getVectorAccessCacheSize()" )
111+ @ Specialization (guards = "dataLib.getLength(vector.getData() ) != 1" , limit = "getVectorAccessCacheSize()" )
112112 public int notSingle (RAbstractVector vector ,
113113 @ CachedLibrary ("vector.getData()" ) VectorDataLibrary dataLib ) {
114114 return dataLib .getLength (vector .getData ());
You can’t perform that action at this time.
0 commit comments