Skip to content

Commit

Permalink
Fix tools (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdatkinson authored Dec 2, 2023
1 parent a1eff04 commit 4772bb2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tools/benchmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ int main(int argc, char* argv[])
std::cout << "Loading model " << modelPath << "\n";

// Turn on fast tanh approximation
activations::Activation::enable_fast_tanh();
nam::activations::Activation::enable_fast_tanh();

std::unique_ptr<DSP> model;
std::unique_ptr<nam::DSP> model;

model.reset();
model = std::move(get_dsp(modelPath));
model = std::move(nam::get_dsp(modelPath));

if (model == nullptr)
{
Expand Down
2 changes: 1 addition & 1 deletion tools/loadmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ int main(int argc, char* argv[])

fprintf(stderr, "Loading model [%s]\n", modelPath);

auto model = get_dsp(modelPath);
auto model = nam::get_dsp(modelPath);

if (model != nullptr)
{
Expand Down

0 comments on commit 4772bb2

Please sign in to comment.