mini cleanup and improve comment TODO

release/4.3a0
HannesSommer 2014-11-15 09:07:30 +01:00
parent d4b868aa12
commit 4966f5a942
2 changed files with 3 additions and 3 deletions

View File

@ -733,8 +733,8 @@ public:
virtual T value(const Values& values) const {
using boost::none;
return function_(this->template expression<A1, 1>()->value(values),
this->template expression<A2, 2>()->value(values),
none, none);
this->template expression<A2, 2>()->value(values),
none, none);
}
/// Construct an execution trace for reverse AD

View File

@ -116,7 +116,7 @@ public:
return root_->traceSize();
}
/// trace execution, very unsafe, for testing purposes only
/// trace execution, very unsafe, for testing purposes only //TODO this is not only used for testing, but in value() below!
T traceExecution(const Values& values, ExecutionTrace<T>& trace,
char* raw) const {
return root_->traceExecution(values, trace, raw);