diff --git a/.vscode/settings.json b/.vscode/settings.json index f7a94e718de..7ad2b8f4036 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -6,5 +6,10 @@ ], "url": "./test/vwtest.schema.json" } - ] + ], + "files.associations": { + "ranges": "cpp", + "bitset": "cpp", + "*.tcc": "cpp" + } } diff --git a/vowpalwabbit/core/src/vw_validate.cc b/vowpalwabbit/core/src/vw_validate.cc index 5bbd7431224..f46db2e076e 100644 --- a/vowpalwabbit/core/src/vw_validate.cc +++ b/vowpalwabbit/core/src/vw_validate.cc @@ -39,7 +39,9 @@ void validate_num_bits(VW::workspace& all) if (all.weights.sparse) { std::stringstream ss; - ss << "Bit size is " << all.initial_weights_config.num_bits << ". While this is allowed for sparse weights, it may cause an overflow and is strongly recommened to use a smaller value."; + ss << "Bit size is " << all.initial_weights_config.num_bits + << ". While this is allowed for sparse weights, it may cause an overflow and is strongly recommened to use a " + "smaller value."; all.logger.err_warn(ss.str()); } else