Skip to content

Commit c42a0c8

Browse files
committed
Deprecate PMLaplaceGenerator in favor of the distribution
1 parent 95df1f6 commit c42a0c8

File tree

2 files changed

+9
-13
lines changed

2 files changed

+9
-13
lines changed

src/Math-Random/PMLaplaceGenerator.class.st renamed to src/Math-Numerical/PMLaplaceGenerator.class.st

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,17 @@ Class {
1111
'laplaceDistribution',
1212
'next'
1313
],
14-
#category : #'Math-Random'
14+
#category : #'Math-Numerical'
1515
}
1616

17+
{ #category : #testing }
18+
PMLaplaceGenerator class >> isDeprecated [
19+
20+
"I am just a wrapper for Laplace distribution. The Distribution should be used directly as it is."
21+
22+
^ true
23+
]
24+
1725
{ #category : #'instance creation' }
1826
PMLaplaceGenerator class >> shape: peakValue scale: falloffValue [
1927

src/Math-Tests-Random/PMLaplaceGeneratorTest.class.st

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)