Commit c1e22dc7 authored by Grand Francois's avatar Grand Francois
Browse files

#45 Nub.getReferencedValuesIterator() : modif pour prendre en compte la...

 #45 Nub.getReferencedValuesIterator() : modif pour prendre en compte la désignation des valeurs ("xxx" pour un paramètre, "xxx." pour un résultat)
Showing with 5 additions and 2 deletions
+5 -2
......@@ -207,8 +207,11 @@ export abstract class Nub extends ComputeNode implements IReferencedNub {
}
public getReferencedValuesIterator(desc: string): IterableIterator<number> {
if (this._result !== undefined && this._result.name === desc)
return this._result.valuesIterator;
const tmp = desc.split(".");
if (tmp.length > 1 && tmp[1] === "")
if (this._result !== undefined && this._result.name === tmp[0])
return this._result.valuesIterator;
const p = this.getParameter(desc);
switch (p.paramValues.valueMode) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment