fix: 修改个体特征初始化中的体重类型为double

This commit is contained in:
墨梓柒
2025-05-20 12:55:18 +08:00
parent b79bb4b3c3
commit 4da59068ab

View File

@@ -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,