Explicit float literal
This commit is contained in:
parent
78a4a63459
commit
53c620cd9b
1 changed files with 2 additions and 2 deletions
|
|
@ -54,7 +54,7 @@ TEST_CASE("[ADSREnvelope] Basic state")
|
|||
out = envelope.getNextValue();
|
||||
REQUIRE(approxEqual<float>(output, expected));
|
||||
|
||||
absl::c_fill(output, -1.0);
|
||||
absl::c_fill(output, -1.0f);
|
||||
envelope.getBlock(absl::MakeSpan(output));
|
||||
REQUIRE(approxEqual<float>(output, expected));
|
||||
}
|
||||
|
|
@ -70,7 +70,7 @@ TEST_CASE("[ADSREnvelope] Attack")
|
|||
REQUIRE(approxEqual<float>(output, expected));
|
||||
|
||||
envelope.reset(2, 0);
|
||||
absl::c_fill(output, -1.0);
|
||||
absl::c_fill(output, -1.0f);
|
||||
envelope.getBlock(absl::MakeSpan(output));
|
||||
REQUIRE(approxEqual<float>(output, expected));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue