Skip to content

Commit d110c39

Browse files
author
Denis Jelovina
committed
Fix variable name in example for matrix capacity in installation section
1 parent 5d4ca2f commit d110c39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ALP_Tutorial.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ \subsection{ALP/GraphBLAS Containers}
125125
\item a \texttt{grb::Vector<double>} \texttt{x} of length 100, with initial capacity 100;
126126
\item a \texttt{grb::Vector<double>} \texttt{y} of length 1\ 000, with initial capacity 1\ 000;
127127
\item a \texttt{grb::Matrix<double>} \texttt{A} of size $(100 \times 1\ 000)$, with initial capacity 1\ 000; and
128-
\item a \texttt{grb::Matrix<double>} \texttt{A} of size $(100 \times 1\ 000)$, with initial capacity 5\ 000.
128+
\item a \texttt{grb::Matrix<double>} \texttt{B} of size $(100 \times 1\ 000)$, with initial capacity 5\ 000.
129129
\end{itemize}
130130
You may start from a copy of \texttt{alp\_hw.cpp}. Employ \texttt{grb::capacity} to print out the capacities of each of the containers. \textbf{Hint:} refer to the user documentation on how to override the default capacities.
131131

@@ -140,7 +140,7 @@ \subsection{ALP/GraphBLAS Containers}
140140
Info: grb::finalize (reference) called.
141141
\end{lstlisting}
142142

143-
\noindent \textbf{Question.} Is overriding the default capacity necessary for all of \texttt{x, y, A} in the above exercise?
143+
\noindent \textbf{Question.} Is overriding the default capacity necessary for all of \texttt{x, y, A} and \texttt{B} in the above exercise?
144144

145145
\subsection{Basic Container I/O}
146146

0 commit comments

Comments
 (0)