fix: 修改个体特征初始化中的体重类型为double
This commit is contained in:
1 parent
b79bb4b3c3
commit
4da59068ab
1 file changed
+3
-1
@@ -1,4 +1,6 @@
|
||||
from typing import Optional
|
||||
|
||||
from numpy import double
|
||||
from .personality import Personality
|
||||
from .identity import Identity
|
||||
import random
|
||||
@@ -46,7 +48,7 @@ class Individuality:
|
||||
personality_sides: list,
|
||||
identity_detail: list,
|
||||
height: int,
|
||||
weight: int,
|
||||
weight: double,
|
||||
age: int,
|
||||
gender: str,
|
||||
appearance: str,
|
||||
|
||||
Reference in new issue
Block a user