Skip to content

[Bug] Unitialized value used #25

@pet-mit

Description

@pet-mit

PI_MdEqua( Pi, NombreDeVariables_E, Q_E, L_E, Umin_E , Umax_E , TypeDeVariable_E, VariableBinaire_E, U_E,

"pi_md_equa", called in "pi_quamin_calculs" at line 97, uses "Pi->SeuilDAdmissibilite" at line 289
But "Pi->SeuilDAdmissibilite" is initialized in "pi_qinit" (lines 83 to 88), which is only called at line 113 of "pi_quamin_calculs"

This leads to unpredictable behaviour

Possible solutions to test:

  • call pi_qinit before pi_md_equa
  • explicitely init Pi->SeuilDAdmissibilite before calling pi_md_equa
  • other?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions