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

Adapt comment of ReductionSymbolProperty

parent f16d8e79
Branches
Tags
1 merge request!438Reduction Support
...@@ -4,6 +4,7 @@ from dataclasses import dataclass ...@@ -4,6 +4,7 @@ from dataclasses import dataclass
from ..field import Field from ..field import Field
from typing import Any from typing import Any
@dataclass(frozen=True) @dataclass(frozen=True)
class PsSymbolProperty: class PsSymbolProperty:
"""Base class for symbol properties, which can be used to add additional information to symbols""" """Base class for symbol properties, which can be used to add additional information to symbols"""
...@@ -16,10 +17,10 @@ class UniqueSymbolProperty(PsSymbolProperty): ...@@ -16,10 +17,10 @@ class UniqueSymbolProperty(PsSymbolProperty):
@dataclass(frozen=True) @dataclass(frozen=True)
class ReductionSymbolProperty(UniqueSymbolProperty): 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 op: str
init_val: Any # TODO: type? init_val: Any # TODO: type?
@dataclass(frozen=True) @dataclass(frozen=True)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment