Skip to content

Commit

Permalink
fix float build
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Hahn <[email protected]>
  • Loading branch information
quantumsteve committed Sep 11, 2024
1 parent 8db531d commit c87e90d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions testing/sandbox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ using namespace asgard;

using prec = asgard::default_precision;

class tpde final : public PDE<double>
class tpde final : public PDE<prec>
{
public:
using P = double;
using P = prec;

tpde(int num_dims, int levels, int degree,
std::function<fk::vector<double>(fk::vector<double> const &, double)> f,
std::function<fk::vector<prec>(fk::vector<prec> const &, prec)> f,
prog_opts const &options = prog_opts())
{
int constexpr num_sources = 0;
Expand Down

0 comments on commit c87e90d

Please sign in to comment.