mirror of
https://github.com/ETLCPP/etl.git
synced 2026-07-30 16:26:17 +08:00
Fix histogram test
Use different Start index so skipped start_index copy would not get unnoticed in the test.
This commit is contained in:
parent
7f290365a9
commit
2144fd8158
@ -270,7 +270,7 @@ namespace
|
||||
{
|
||||
IntRuntimeOffsetHistogram histogram1(Start, input2.begin(), input2.end());
|
||||
|
||||
IntRuntimeOffsetHistogram histogram2(Start);
|
||||
IntRuntimeOffsetHistogram histogram2(Start + 1);
|
||||
histogram2 = histogram1;
|
||||
|
||||
for (int key = Start; key < Start + static_cast<int>(Size); ++key)
|
||||
@ -300,7 +300,7 @@ namespace
|
||||
IntRuntimeOffsetHistogram histogram1(Start, input2.begin(), input2.end());
|
||||
IntRuntimeOffsetHistogram histogram_source(Start, input2.begin(), input2.end());
|
||||
|
||||
IntRuntimeOffsetHistogram histogram2(Start);
|
||||
IntRuntimeOffsetHistogram histogram2(Start + 1);
|
||||
histogram2 = etl::move(histogram_source);
|
||||
|
||||
for (int key = Start; key < Start + static_cast<int>(Size); ++key)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user