Opened 19 years ago

Closed 19 years ago

#29 closed defect (invalid)

Wrong data transmitted from python to diana with DianaParameter.SetValue function

Reported by: dosta Owned by: miha
Priority: minor Milestone:
Component: DianaKernel Version:
Severity: acceptable Keywords:
Cc:

Description

When I use such python script, where I set an output time value: solver.GetParameters?().ItemByName?("Tout").SetValue?(0.001) it's not equal to 0.001. If in file DianaParameter?.cpp use such addition to function DianaParameter::SetValue?

void DianaParameter::SetValue?(const CapeVariant?& _value) {

try{

printf("%0.18e\n", _value.asDouble() ); ....

}

On screen I have value: 1.000000000000000021e-03.

So comparison operations does not work.

Change History (1)

comment:1 Changed 19 years ago by miha

  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.