From bef8f3c9dc0cfb2d8a2193cee8a08abc1273f3ac Mon Sep 17 00:00:00 2001 From: Daniel Lee Date: Tue, 5 Feb 2013 16:10:03 -0500 Subject: [PATCH 1/3] adding comment to generator --- src/stan/gm/generator.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stan/gm/generator.hpp b/src/stan/gm/generator.hpp index 7f25b345adb..7a17258435b 100644 --- a/src/stan/gm/generator.hpp +++ b/src/stan/gm/generator.hpp @@ -1383,6 +1383,7 @@ namespace stan { o << INDENT << " std::ostream* pstream__ = 0) {" << EOL2; // use this dummy for inits + o << INDENT2 << "// Note: this is not a memory leak. Memory will be cleaned up with the arena allocator" << EOL; o << INDENT2 << "stan::agrad::vari* DUMMY_VARI_PTR__ = new vari(std::numeric_limits::quiet_NaN(),false);" << EOL; o << INDENT2 << "stan::agrad::var DUMMY_VAR__ = var(DUMMY_VARI_PTR__);" << EOL2; From 7a6d03d3b878bce1758040519f5b166a785b5135 Mon Sep 17 00:00:00 2001 From: Daniel Lee Date: Tue, 5 Feb 2013 16:10:17 -0500 Subject: [PATCH 2/3] updating doc to reflect updates in libraries --- src/docs/stan-reference/appendices.tex | 4 ++-- src/docs/stan-reference/commands.tex | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/docs/stan-reference/appendices.tex b/src/docs/stan-reference/appendices.tex index ef219d467ce..a33aa7a5fbb 100644 --- a/src/docs/stan-reference/appendices.tex +++ b/src/docs/stan-reference/appendices.tex @@ -430,7 +430,7 @@ \subsubsection{Boost C++ Library Source} \begin{itemize} \item Home: http://www.boost.org/users/license.html \item License: Boost Software License -\item Tested Version: 1.51.0 +\item Tested Version: 1.52.0 \end{itemize} % The Boost source code is distributed with \Stan. @@ -444,7 +444,7 @@ \subsubsection{Eigen Matrix and Linear Algebra Library Source} \begin{itemize} \item Home: \url{http://eigen.tuxfamily.org} \item License: Mozilla Public License, version 2.0 -\item Tested Version: 3.1.1 +\item Tested Version: 3.1.2 \end{itemize} % The Eigen source code is distributed with \Stan. diff --git a/src/docs/stan-reference/commands.tex b/src/docs/stan-reference/commands.tex index b6a01293c2b..f73c840ae5b 100644 --- a/src/docs/stan-reference/commands.tex +++ b/src/docs/stan-reference/commands.tex @@ -442,8 +442,8 @@ \subsection{Compiling a \Stan Model} \begin{quote} \begin{Verbatim}[fontshape=sl] > cd -> g++ -O3 -Lbin -Isrc -Ilib/boost_1.51.0 \ - -Ilib/eigen_3.1.0 my_model.cpp -o my_model -lstan +> g++ -O3 -Lbin -Isrc -Ilib/boost_1.52.0 \ + -Ilib/eigen_3.1.2 my_model.cpp -o my_model -lstan \end{Verbatim} \end{quote} % The backslash (\Verb|\|) is used to indicate that the command is From 009b11733883a655e5ddddca88433d2a0b4466a8 Mon Sep 17 00:00:00 2001 From: Daniel Lee Date: Tue, 5 Feb 2013 16:11:45 -0500 Subject: [PATCH 3/3] updating doc to reflect updates in libraries --- src/docs/stan-reference/commands.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/docs/stan-reference/commands.tex b/src/docs/stan-reference/commands.tex index f73c840ae5b..4f466802013 100644 --- a/src/docs/stan-reference/commands.tex +++ b/src/docs/stan-reference/commands.tex @@ -457,9 +457,9 @@ \subsection{Compiling a \Stan Model} directory, \item[\code{-Isrc}] specifies that the directory \code{src} should be searched for code (it contains the top-level \Stan headers), -\item[\code{-Ilib/eigen\_3.1.0}] specifies the directory for +\item[\code{-Ilib/eigen\_3.1.2}] specifies the directory for the Eigen library, -\item[\code{-Ilib/boost\_1.51.0}] specifies the directory for the +\item[\code{-Ilib/boost\_1.52.0}] specifies the directory for the Boost library, \item[\code{my\_model.cpp}] specifies the name of the source file to compile, and