Change initializer_list<T> to initializer_list<ScalarType>