Skip to content
Merged
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
6 changes: 3 additions & 3 deletions SoftwareGuide/Latex/Appendices/CodingStyleGuide.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1664,7 +1664,7 @@ \subsection{Initializing variables of fixed size array types}
\code{Index}, \code{Size}, \code{FixedArray}, \code{Point}, and \code{Vector}.

A variable of such a fixed size array type can be zero-initialized by an empty
initializer list, `{}`. This is usually the preferred way to initialize the
initializer list, \code{{}}. This is usually the preferred way to initialize the
variable, when it should initially be filled with zeroes. For example:

\small
Expand All @@ -1677,7 +1677,7 @@ \subsection{Initializing variables of fixed size array types}
\end{minted}
\normalsize

\code{Index} and \code{Size} both have a static `Filled(fillValue)` member
\code{Index} and \code{Size} both have a static \code{Filled(fillValue)} member
function, to allow creating a variable that is filled with an arbitrary value.
For these types, this is usually the preferred way to initialize the variable,
when it should initially be filled with a value that may be non-zero. For
Expand All @@ -1693,7 +1693,7 @@ \subsection{Initializing variables of fixed size array types}
\end{minted}
\normalsize

For other fixed size array types, the function `itk::MakeFilled<T>(fillValue)`
For other fixed size array types, the function \code{itk::MakeFilled<T>(fillValue)}
is preferable, when the array should initially be filled with a value that may
be non-zero. For example:

Expand Down
Loading