Project

General

Profile

Actions

Bug #55

open

Bug #247: Version 1.7 bugfixes

THaFormula containing parameters may crash

Added by Ole Hansen over 7 years ago. Updated almost 7 years ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
16.00 h
Responsible:

Description

THaFormulas containing parameter expressions, or special functions that expect parameters, may crash. Examples:

f1 = new THaFormula("f1","gaus");
f1->Eval()
*** Break *** segmentation violation

double x = 1;
gHaVars->Define("x",x);
f2 = new THaFormula("f2","[0]+x")
f2->Eval()
*** Break *** segmentation violation
Actions

Also available in: Atom PDF