Skip to content
Snippets Groups Projects
Commit 1a1c23b5 authored by Richard Angersbach's avatar Richard Angersbach
Browse files

Adapt comment of ReductionSymbolProperty

parent f16d8e79
No related branches found
No related tags found
1 merge request!438Reduction Support
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment