summaryrefslogtreecommitdiff
path: root/src/input-parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/input-parser.cpp')
-rw-r--r--src/input-parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input-parser.cpp b/src/input-parser.cpp
index b5dd55b..677aa48 100644
--- a/src/input-parser.cpp
+++ b/src/input-parser.cpp
@@ -38,7 +38,7 @@ InputParser::RemoveValues(std::size_t count)
}
std::unique_ptr<InputParser>
-InputParser::FromDataType(DataType dtype, double prescale, bool is_complex)
+InputParser::Build(DataType dtype, double prescale, bool is_complex)
{
if (dtype == DataType::kSignedInt8) {
return std::make_unique<IntegerInputParser<std::int8_t>>(prescale, is_complex);