Skip to content

Commit

Permalink
Closes #13 Math 2nd Log2 output is not working
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Komarov committed Nov 6, 2023
1 parent 8cd4e3a commit c271274
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"slug": "fruitsofkarma",
"name": "fruitsofkarma",
"version": "2.0.9",
"version": "2.0.10",
"license": "MIT",
"brand": "fruitsofkarma",
"author": "Alexey Komarov",
Expand Down
2 changes: 1 addition & 1 deletion src/Math.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit c271274

Please sign in to comment.