Closed JanisGeise closed 3 months ago
@JanisGeise the dtype passed to the constructor of FOAMDataloader was not correctly passed to the constructor of FOAMMesh. The problem is specific to this dataloader and should be fixed now (on the aweiner branch). Thanks for spotting this issue. Best, Andre
Hi @AndreWeiner,
when passing a dtype as argument for the
FOAMDataloader
, it is not set correctly. For example inthe type remains always the
DEFAULT_DTYPE
, independently whether passed as string or directly as, e.g.pt.float64
. I'm assuming this issue affects the otherDataloader
as well.Further, in the
Dataloader
base class, the decorator@abstractproperty
is depreciated according to the Python documentation and should be replaced withRegards, Janis