|
Prev | Next | whats_new_21 |
AD<double> to the
atomic_four_vector
example.
virtual to override in all the
atomic_three_example
files and
multi_atomic_three_user
.
NDEBUG defined.
atan2(0,1) was incorrect; see
issue 120
.
This has been fixed and the atan2.cpp
example has been
extended to do more testing.
make check_example_multi_thread was not being constructed.
Hence make check did not include the multi_thread tests.
This has been fixed.
compile_source_test: cplusplus_201100_ok is defined before expected
if the cmake
command was run twice,
without first removing the CMakeCache.txt file.
This has been fixed.
debug_all to the empty string.
-L entries
before -l entries in Libs section.
Furthermore, move all information from private to normal section.
-l at the front of the list
of library flags; e.g.,
-l-lcppad_lib was changed to -lcppad_lib.
ltmain.sh and test-driver in the top source directory.
CHECK_CXX_SOURCE_RUNS
to CHECK_CXX_SOURCE_COMPILES.
This makes it easier to use CppAD in a cross compiling context.
CppAD::vector assignment statement no longer requires the
size of the vectors to be the same; see
check size
.
microsoft_timer which is no longer needed by
elapsed_seconds
because c++11 required (starting this year).
CMAKE_SOURCE_DIR.
This allows CppAD's top source directory
to be used as a subdirectory of a larger CMake package.
sparse_rcv
move semantics constructor was added.
x
is zero.
The pow_nan.cpp
example was modified to show when the new
version of this function generates nans.
dis_graph_op was corrected to discrete_graph_op
in the documentation for
discrete_graph_op
.
y nodes in
print_graph.cpp
example output.
// ? should use += here, first make test to demonstrate bug
A test case was created to demonstrate this bug and it was fixed
(see duplicate_dependent_var in test_more/general/reverse.cpp).
This only affects reverse mode when
w
has size
q * m
and
two of the dependent variables in the range of
f
are identically equal (actually the same variable).
f
had fabs dynamic parameter operators.
To be more specific, if NDEBUG was not defined,
an error from an unknown source would be detected in the file to_graph.hpp.
cpp_graph class.
seq_property
to fun_property
.
ADFun function's
name
.
debug_all (debug_none) the corresponding
CMAKE_BUILD_TYPE
is now specified as
Debug (Release).
Policy CMP0054 warning during the
cmake command
.
# ifndef _MSC_VER in cppad_vector.cpp
.
cppad_lib library
when using the Microsoft compiler.
y
is a parameter.
This properly handles the special case where
x
is zero
and
y
is greater than the order of the derivative.
In addition, it only requires one tape variable (instead of three)
for each pow operation.
NDEBUG defined,
an assert was generated even though the code was correct.
This has been fixed.
true_or_false
,
instead of true to highlight the fact that one can choose either
true or false.
cppad_lib/json_lexer.cpp would not compile
because the std::isdigit function was not defined.
This has been fixed.
ADFun< AD<Base> >
function that has
dynamic
parameters and
value of one of these parameters was zero or one when the function
was recorded.
cppad_lib.