Skip to content

Commit 4d814a6

Browse files
fixes
1 parent 206910d commit 4d814a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pina/model/block/message_passing/radial_field_network_block.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def forward(self, x, edge_index):
9797
"""
9898
return self.propagate(edge_index=edge_index, x=x)
9999

100-
def message(self, x_j, x_i):
100+
def message(self, x_i, x_j):
101101
"""
102102
Compute the message to be passed between nodes and edges.
103103

pina/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def check_positive_integer(value, strict=True):
202202
:param int value: The value to check.
203203
:param bool strict: If True, the value must be strictly positive.
204204
Default is True.
205-
:raises ValueError: If the value is not a positive integer.
205+
:raises AssertionError: If the value is not a positive integer.
206206
"""
207207
if strict:
208208
assert (

0 commit comments

Comments
 (0)