Commit 062c9333 authored by Mathias Chouet's avatar Mathias Chouet 🍝
Browse files

Fix wrong calcType in SPP

parent 82fee6ca
......@@ -2,8 +2,8 @@ import { CalculatorType } from "./compute-node";
import { Nub } from "./nub";
import { ParamCalculability } from "./param/param-definition";
import { SPPParams } from "./spp_params";
import { Result } from "./util/result";
import { Message, MessageCode } from "./util/message";
import { Result } from "./util/result";
import { YAXN } from "./yaxn";
export enum SPPOperation {
......@@ -19,7 +19,7 @@ export class SPP extends Nub {
constructor(prms: SPPParams, dbg: boolean = false) {
super(prms, dbg);
this._calcType = CalculatorType.Trigo;
this._calcType = CalculatorType.SPP;
this._defaultCalculatedParam = prms.Y;
this.resetDefaultCalculatedParam();
this.properties.setPropValue("sppOperation", SPPOperation.SUM);
......
Markdown is supported
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