Decrease example cards weight to prevent overflow when used with CD
This commit is contained in:
parent
aa1f53c83e
commit
a356cd0425
|
@ -55,7 +55,7 @@ func main() {
|
|||
fmt.Println(val)
|
||||
}
|
||||
|
||||
_, err = db.Exec("INSERT INTO cards VALUES(?, ?, ?, ?)", i, 1<<(30-i/50), key, val)
|
||||
_, err = db.Exec("INSERT INTO cards VALUES(?, ?, ?, ?)", i, 1<<(20-i/50), key, val)
|
||||
i++
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue