Browse Source

Nit: missed a NaN initial value, removed

pull/88/head
Simon-L 4 years ago
parent
commit
a28bb034da
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      plugins/Cardinal/src/IldaeilExpIn8.cpp

+ 1
- 1
plugins/Cardinal/src/IldaeilExpIn8.cpp View File

@@ -48,7 +48,7 @@ struct IldaeilExpIn8 : Module {
if (ildaeilPresent) {
float *messagesToIldaeil = (float*)rightExpander.module->leftExpander.producerMessage;
for (int i = 0; i < NUM_INPUTS; i++) {
messagesToIldaeil[i] = (inputs[i].isConnected() ? inputs[i].getVoltage() : std::numeric_limits<float>::quiet_NaN());
messagesToIldaeil[i] = (inputs[i].isConnected() ? inputs[i].getVoltage() : 0.0);
}
rightExpander.module->leftExpander.messageFlipRequested = true;
}


Loading…
Cancel
Save