diff --git a/plugin.json b/plugin.json index 50309fb..4e3459e 100644 --- a/plugin.json +++ b/plugin.json @@ -1,7 +1,7 @@ { "slug": "fruitsofkarma", "name": "fruitsofkarma", - "version": "2.0.9", + "version": "2.0.10", "license": "MIT", "brand": "fruitsofkarma", "author": "Alexey Komarov", diff --git a/src/Math.cpp b/src/Math.cpp index 6b61e4b..43e24f3 100644 --- a/src/Math.cpp +++ b/src/Math.cpp @@ -101,7 +101,7 @@ struct Math : Module { if (k == 0) { outputs[LN1_OUTPUT + j].setVoltage(std::log(a), c); } else if (k == 1) { - outputs[LOG21_OUTPUT].setVoltage(std::log2(a), c); + outputs[LOG21_OUTPUT + j].setVoltage(std::log2(a), c); } else if (k == 2) { outputs[LOG101_OUTPUT + j].setVoltage(std::log10(a), c); }