From 1a1c23b57015ace0c821d0a709d2bf17fa67b42a Mon Sep 17 00:00:00 2001 From: zy69guqi <richard.angersbach@fau.de> Date: Thu, 16 Jan 2025 18:38:34 +0100 Subject: [PATCH] Adapt comment of ReductionSymbolProperty --- src/pystencils/codegen/properties.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pystencils/codegen/properties.py b/src/pystencils/codegen/properties.py index 2b0af986a..0bad4e898 100644 --- a/src/pystencils/codegen/properties.py +++ b/src/pystencils/codegen/properties.py @@ -4,6 +4,7 @@ from dataclasses import dataclass from ..field import Field from typing import Any + @dataclass(frozen=True) class PsSymbolProperty: """Base class for symbol properties, which can be used to add additional information to symbols""" @@ -16,10 +17,10 @@ class UniqueSymbolProperty(PsSymbolProperty): @dataclass(frozen=True) class ReductionSymbolProperty(UniqueSymbolProperty): - """Symbol acts as a base pointer to a field.""" + """Property for symbols specifying the operation and initial value for a reduction.""" op: str - init_val: Any # TODO: type? + init_val: Any # TODO: type? @dataclass(frozen=True) -- GitLab