Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
QueryR
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Julien Lopez
QueryR
Commits
1187cfa4
Commit
1187cfa4
authored
8 years ago
by
Lukas Stadler
Browse files
Options
Downloads
Patches
Plain Diff
add RRaw to primitives in BinaryBooleanNodeTest
parent
ea00a17a
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
com.oracle.truffle.r.nodes.test/src/com/oracle/truffle/r/nodes/test/BinaryBooleanNodeTest.java
+2
-1
2 additions, 1 deletion
...om/oracle/truffle/r/nodes/test/BinaryBooleanNodeTest.java
with
2 additions
and
1 deletion
com.oracle.truffle.r.nodes.test/src/com/oracle/truffle/r/nodes/test/BinaryBooleanNodeTest.java
+
2
−
1
View file @
1187cfa4
...
@@ -57,6 +57,7 @@ import com.oracle.truffle.r.runtime.RRuntime;
...
@@ -57,6 +57,7 @@ import com.oracle.truffle.r.runtime.RRuntime;
import
com.oracle.truffle.r.runtime.RType
;
import
com.oracle.truffle.r.runtime.RType
;
import
com.oracle.truffle.r.runtime.data.RComplex
;
import
com.oracle.truffle.r.runtime.data.RComplex
;
import
com.oracle.truffle.r.runtime.data.RNull
;
import
com.oracle.truffle.r.runtime.data.RNull
;
import
com.oracle.truffle.r.runtime.data.RRaw
;
import
com.oracle.truffle.r.runtime.data.RScalarVector
;
import
com.oracle.truffle.r.runtime.data.RScalarVector
;
import
com.oracle.truffle.r.runtime.data.RShareable
;
import
com.oracle.truffle.r.runtime.data.RShareable
;
import
com.oracle.truffle.r.runtime.data.model.RAbstractVector
;
import
com.oracle.truffle.r.runtime.data.model.RAbstractVector
;
...
@@ -274,7 +275,7 @@ public class BinaryBooleanNodeTest extends BinaryVectorTest {
...
@@ -274,7 +275,7 @@ public class BinaryBooleanNodeTest extends BinaryVectorTest {
}
}
private
static
boolean
isPrimitive
(
Object
result
)
{
private
static
boolean
isPrimitive
(
Object
result
)
{
return
result
instanceof
Integer
||
result
instanceof
Double
||
result
instanceof
Byte
||
result
instanceof
RComplex
;
return
result
instanceof
Integer
||
result
instanceof
Double
||
result
instanceof
Byte
||
result
instanceof
RComplex
||
result
instanceof
RRaw
;
}
}
private
NodeHandle
<
BinaryBooleanNode
>
handle
;
private
NodeHandle
<
BinaryBooleanNode
>
handle
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment