We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3d803a commit a0d567dCopy full SHA for a0d567d
src/Math-Matrix/ShapeMismatch.class.st
@@ -0,0 +1,19 @@
1
+Class {
2
+ #name : #ShapeMismatch,
3
+ #superclass : #Error,
4
+ #category : #'Math-Matrix'
5
+}
6
+
7
+{ #category : #accessing }
8
+ShapeMismatch >> messageText [
9
+ "Overwritten to initialiaze the message text to a standard text if it has not yet been set"
10
11
+ ^ messageText ifNil: [ messageText := self standardMessageText ]
12
+]
13
14
+{ #category : #printing }
15
+ShapeMismatch >> standardMessageText [
16
+ "Generate a standard textual description"
17
18
+ ^ 'Tensor shapes do not match'
19
0 commit comments