Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@

\begin{code}[keywords={}]
operator()(int index, double & valueToUpdate) const {
const double d = _data(index);
const double d = data_(index);
valueToUpdate += d;
}
\end{code}
Expand Down Expand Up @@ -341,7 +341,7 @@

\begin{code}[keywords={}]
operator()(int index, double & valueToUpdate) const {
const double d = _data(index);
const double d = data_(index);
valueToUpdate += d;
}
\end{code}
Expand Down
2 changes: 1 addition & 1 deletion Content/Presentations/sections/Section_Spaces.tex
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@
Every view stores its data in a \textbf{memory space} set at compile time.
\end{block}

\vspace{10pt}
\vspace{5pt}

\begin{itemize}
\item<2->{\texttt{View<double***,}{\textit{Memory}\textbf{Space}}\texttt{> data(...);}}
Expand Down
4 changes: 2 additions & 2 deletions Content/Presentations/sections/Section_Views.tex
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
frame=single
]
struct Functor {
double *_x, *_y, a;
double *x_, *y_, a;
void operator()(const int64_t i) const {
_y[i] += _x[i];
y_[i] += x_[i];
}
};
\end{code}
Expand Down
Loading