@@ -145,13 +145,6 @@ int main(int argc, char **argv) {
145145 cxxopts::value<bool >()->default_value (" false" ))
146146 (" t,test" , " Test the algorithms and find their properties." ,
147147 cxxopts::value<bool >()->default_value (" false" ))
148- (" d,dragon" , " Enable dragon4 (current impl. triggers some asserts)." ,
149- #ifdef NDEBUG
150- cxxopts::value<bool >()->default_value (" true" ))
151- #else // NDEBUG
152- // dragon4 is not safe in debug mode: some asserts fire.
153- cxxopts::value<bool >()->default_value (" false" ))
154- #endif
155148 (" e,errol" , " Enable errol3 (current impl. returns invalid values, e.g., for 0)." ,
156149 cxxopts::value<bool >()->default_value (" false" ))
157150 (" h,help" , " Print usage." );
@@ -189,7 +182,7 @@ int main(int argc, char **argv) {
189182 auto initArgs = [&](auto type) {
190183 using T = decltype (type);
191184 std::array<BenchArgs<T>, Benchmarks::COUNT> args;
192- args[Benchmarks::DRAGON4] = { " dragon4" , Benchmarks::dragon4<T> , result[ " dragon " ]. as < bool >() , 10 };
185+ args[Benchmarks::DRAGON4] = { " dragon4" , Benchmarks::dragon4<T> , true , 10 };
193186 args[Benchmarks::ERROL3] = { " errol3" , Benchmarks::errol3<T> , result[" errol" ].as <bool >() };
194187 args[Benchmarks::TO_STRING] = { " std::to_string" , Benchmarks::to_string<T> , ERROL_SUPPORTED };
195188 args[Benchmarks::FMT_FORMAT] = { " fmt::format" , Benchmarks::fmt_format<T> , true };
0 commit comments