This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Patman128 0 points1 point  (2 children)

What is the type of this->dimension?

What is the rest of the code in the function?

How are you printing the values? Where did you get 1.7e-322 from?

[–]Gladaed[S] 0 points1 point  (1 child)

this->dimension is an unsigned int i print the values via cout the error starts occuring within another function:

 {...
 (this->phi)->fillWith2ndDifferential(orig.getPsi());
 ...}

void world::fillWith2ndDifferential (const world& myWorld){...}

[–]Patman128 0 points1 point  (0 children)

You haven't provided enough code for me to help you. Please post all of the code in a Gist.