aboutsummaryrefslogtreecommitdiffstats
path: root/dagger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dagger.cpp')
-rw-r--r--dagger.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/dagger.cpp b/dagger.cpp
index 97e575a6..efc63565 100644
--- a/dagger.cpp
+++ b/dagger.cpp
@@ -32,17 +32,17 @@ int daggerTest()
{
Dagger d;
auto s = steady_clock::now();
- cout << hex << d.eval((h256)1, 0);
+ cout << hex << d.eval((h256)1, (h256)0);
cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl;
- cout << hex << d.eval((h256)1, 1);
+ cout << hex << d.eval((h256)1, (h256)1);
cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl;
}
{
Dagger d;
auto s = steady_clock::now();
- cout << hex << d.eval((h256)1, 0);
+ cout << hex << d.eval((h256)1, (h256)0);
cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl;
- cout << hex << d.eval((h256)1, 1);
+ cout << hex << d.eval((h256)1, (h256)1);
cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl;
}
return 0;