Skip to content

Commit e3a12a2

Browse files
committed
small fixes
1 parent 9922a07 commit e3a12a2

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

delta_q/src/compaction.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ pub(crate) fn compact(data: &mut Vec<(f32, f32)>, mode: CompactionMode, max_size
130130
data[d.idx] = new_data;
131131
data[neighbour].1 = -1.0;
132132

133+
// left in as a debugging tool to visualise the compaction process
133134
// let curr_cdf = data
134135
// .iter()
135136
// .filter(|(_, y)| *y >= 0.0)

delta_q/src/delta_q.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,7 +1180,6 @@ mod tests {
11801180
1.0,
11811181
DeltaQ::seq(
11821182
DeltaQ::name("single"),
1183-
LoadUpdate::default(),
11841183
DeltaQ::name("single"),
11851184
),
11861185
100.0,
@@ -1191,7 +1190,6 @@ mod tests {
11911190
1.0,
11921191
DeltaQ::seq(
11931192
DeltaQ::name("single"),
1194-
LoadUpdate::default(),
11951193
DeltaQ::name("model2"),
11961194
),
11971195
100.0,
@@ -1202,7 +1200,6 @@ mod tests {
12021200
1.0,
12031201
DeltaQ::seq(
12041202
DeltaQ::name("single"),
1205-
LoadUpdate::default(),
12061203
DeltaQ::name("model3"),
12071204
),
12081205
100.0,
@@ -1213,7 +1210,6 @@ mod tests {
12131210
1.0,
12141211
DeltaQ::seq(
12151212
DeltaQ::name("single"),
1216-
LoadUpdate::default(),
12171213
DeltaQ::name("model4"),
12181214
),
12191215
100.0,
@@ -1234,7 +1230,6 @@ mod tests {
12341230
1.0,
12351231
DeltaQ::seq(
12361232
DeltaQ::name("base"),
1237-
LoadUpdate::default(),
12381233
DeltaQ::name("recursive"),
12391234
),
12401235
1.0,

0 commit comments

Comments
 (0)