comparison data/model/EditableDenseThreeDimensionalModel.cpp @ 1392:667e369cfeab

LogRange tests
author Chris Cannam
date Tue, 28 Feb 2017 11:21:49 +0000
parents 2ff5e411151d
children 48e9f538e6e9
comparison
equal deleted inserted replaced
1391:2c0e04062a99 1392:667e369cfeab
453 if (sample.empty()) return false; 453 if (sample.empty()) return false;
454 for (decltype(sample)::size_type j = 0; j < sample.size(); ++j) { 454 for (decltype(sample)::size_type j = 0; j < sample.size(); ++j) {
455 if (n[j]) sample[j] /= n[j]; 455 if (n[j]) sample[j] /= n[j];
456 } 456 }
457 457
458 return LogRange::useLogScale(sample); 458 return LogRange::shouldUseLogScale(sample);
459 } 459 }
460 460
461 void 461 void
462 EditableDenseThreeDimensionalModel::setCompletion(int completion, bool update) 462 EditableDenseThreeDimensionalModel::setCompletion(int completion, bool update)
463 { 463 {