Skip to content

Commit 5d541f6

Browse files
jonaslattgonzalobg
authored andcommitted
Final tweaks.
1 parent 9214879 commit 5d541f6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

labs/lab1_select/exercise2.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ std::vector<int> select(const std::vector<int>& v, UnaryPredicate pred)
8787
// TODO: write a parallelizable version of select, just as for exercise 1.
8888
// But this time, use transform_inclusive_scan to reduce the number of steps from 3 to 2.
8989

90+
std::vector<int> w;
9091
return w;
9192
}
9293

labs/lab1_select/select.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@
309309
"cell_type": "markdown",
310310
"metadata": {},
311311
"source": [
312-
"### Solutions Exercise 1\n",
312+
"### Solutions Exercise 2\n",
313313
"\n",
314314
"The solutions for each example are available in the `solutions/` sub-directory.\n",
315315
"\n",

0 commit comments

Comments
 (0)