Skip to content

Commit 6c4d9f4

Browse files
committed
Typo fix in exception text
1 parent edb02d0 commit 6c4d9f4

File tree

1 file changed

+1
-1
lines changed
  • src/NeuralNet/ActivationFunctions/ELU

1 file changed

+1
-1
lines changed

src/NeuralNet/ActivationFunctions/ELU/ELU.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function __construct(protected float $alpha = 1.0)
4040
{
4141
if ($this->alpha < 0.0) {
4242
throw new InvalidAlphaException(
43-
message: "Alpha must be greater than 0, $alpha given."
43+
message: "Alpha must be greater than 0, {$this->alpha} given."
4444
);
4545
}
4646
}

0 commit comments

Comments
 (0)