Merge pull request #74 from S-o-T/fix_for_fmt8

Add missing formatter
This commit is contained in:
Allison Vacanti
2022-01-28 11:48:26 -05:00
committed by GitHub

View File

@@ -225,8 +225,8 @@ const axis_base &axes_metadata::get_axis(std::string_view name,
NVBENCH_THROW(std::runtime_error,
"Axis '{}' type mismatch (expected {}, actual {}).",
name,
type,
axis.get_type());
axis_type_to_string(type),
axis.get_type_as_string());
}
return axis;
}
@@ -240,8 +240,8 @@ axis_base &axes_metadata::get_axis(std::string_view name,
NVBENCH_THROW(std::runtime_error,
"Axis '{}' type mismatch (expected {}, actual {}).",
name,
type,
axis.get_type());
axis_type_to_string(type),
axis.get_type_as_string());
}
return axis;
}