Révision 1706
tmp/org.txm.ca.core/src/org/txm/ca/core/functions/CA.java (revision 1706) | ||
---|---|---|
133 | 133 |
*/ |
134 | 134 |
public CA(LexicalTable lexicalTable) { |
135 | 135 |
this(null, lexicalTable); |
136 |
|
|
137 |
Eigenvalues eigenvalues = (Eigenvalues) this.getFirstChild(Eigenvalues.class); |
|
138 |
if(eigenvalues == null) { |
|
139 |
eigenvalues = new Eigenvalues(this); |
|
140 |
} |
|
136 | 141 |
} |
137 | 142 |
|
138 | 143 |
/** |
... | ... | |
154 | 159 |
public CA(String parametersNodePath, LexicalTable lexicalTable) { |
155 | 160 |
super(parametersNodePath, lexicalTable); |
156 | 161 |
|
157 |
Eigenvalues eigenvalues = (Eigenvalues) this.getFirstChild(Eigenvalues.class); |
|
158 |
if(eigenvalues == null) { |
|
159 |
eigenvalues = new Eigenvalues(this); |
|
160 |
} |
|
161 |
|
|
162 | 162 |
this.needsToSquareOff = true; |
163 | 163 |
} |
164 | 164 |
|
... | ... | |
202 | 202 |
} |
203 | 203 |
|
204 | 204 |
this.r_ca.compute(); |
205 |
|
|
205 |
|
|
206 | 206 |
return true; |
207 | 207 |
} catch(Exception e) { |
208 | 208 |
Log.severe("Failed to compute CA."); |
Formats disponibles : Unified diff