bug #1255: comment out broken and unsused line.

This commit is contained in:
Gael Guennebaud 2016-07-25 14:48:30 +02:00
parent f9598d73b5
commit 6d5daf32f5

View File

@ -159,7 +159,9 @@ class TensorExecutor<Expression, ThreadPoolDevice, Vectorizable> {
#else
size_t num_threads = device.numThreads();
if (num_threads > 1) {
cost = evaluator.costPerCoeff(Vectorizable)
// FIXME: the following line is broken (see bug 1255),
// but maybe the cost should be used somewhere to drive the execution.
//cost = evaluator.costPerCoeff(Vectorizable)
num_threads = TensorCostModel<ThreadPoolDevice>::numThreads(
size, evaluator.costPerCoeff(Vectorizable), num_threads);
}