Skip to content

Commit

Permalink
Fix for clang-UBSAN error
Browse files Browse the repository at this point in the history
  • Loading branch information
jwijffels committed Dec 21, 2021
1 parent 93bb5f3 commit 712f723
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: sentencepiece
Type: Package
Title: Text Tokenization using Byte Pair Encoding and Unigram Modelling
Version: 0.2
Version: 0.2.1
Authors@R: c(
person('Jan', 'Wijffels', role = c('aut', 'cre', 'cph'), email = '[email protected]', comment = "R wrapper"),
person('BNOSAC', role = 'cph', comment = "R wrapper"),
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## CHANGES IN sentencepiece VERSION 0.2.1

- Fix for clang-UBSAN error

## CHANGES IN sentencepiece VERSION 0.2

- Fix wordpiece bug for 1-character words. (@jonthegeek, #4)
Expand Down
2 changes: 1 addition & 1 deletion src/sentencepiece/src/unicode_script.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

namespace sentencepiece {
namespace unicode_script {
enum ScriptType {
enum ScriptType : int32_t {
U_Adlam,
U_Ahom,
U_Anatolian_Hieroglyphs,
Expand Down

0 comments on commit 712f723

Please sign in to comment.