Skip to content

Commit 0741926

Browse files
committed
Fix typo in sum example
1 parent 818fdc4 commit 0741926

File tree

1 file changed

+1
-1
lines changed
  • examples/sum/software/cpp/src

1 file changed

+1
-1
lines changed

examples/sum/software/cpp/src/sum.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ int main(int argc, char **argv) {
8181

8282
// "Enable" the context, potentially copying the recordbatch to the device. This depends on your platform.
8383
// AWS EC2 F1 requires a copy, but OpenPOWER SNAP doesn't.
84-
context->Enable();
84+
status = context->Enable();
8585

8686
if (!status.ok()) {
8787
std::cerr << "Could not enable the context." << std::endl;

0 commit comments

Comments
 (0)