Skip to content
Snippets Groups Projects
Commit ef1492f4 authored by Ger van Diepen's avatar Ger van Diepen
Browse files

BugID: 711

Fixed bug in defining result
parent e4af6b58
Branches
Tags
No related merge requests found
......@@ -155,7 +155,7 @@ MeqMatrix MeqExprRep::getResultValue (const vector<const MeqMatrix*>&)
MeqResult MeqExprRep::getResult (const MeqRequest& request)
{
// Calculate the result in a generic way.
MeqResult result;
MeqResult result(request.nspid());
// First evaluate all children and keep their results.
// Also keep the main value.
int nrchild = itsChildren.size();
......
......@@ -20,7 +20,7 @@
//#
//# $Id$
#if !defined(MNS_MEQEXPR_H)
#ifndef MNS_MEQEXPR_H
#define MNS_MEQEXPR_H
// \file
......
......@@ -20,7 +20,7 @@
//#
//# $Id$
#if !defined(MNS_MEQEXPR_H)
#ifndef MNS_MEQEXPR_H
#define MNS_MEQEXPR_H
// \file
......
......@@ -155,7 +155,7 @@ MeqMatrix MeqExprRep::getResultValue (const vector<const MeqMatrix*>&)
MeqResult MeqExprRep::getResult (const MeqRequest& request)
{
// Calculate the result in a generic way.
MeqResult result;
MeqResult result(request.nspid());
// First evaluate all children and keep their results.
// Also keep the main value.
int nrchild = itsChildren.size();
......
......@@ -20,7 +20,7 @@
//#
//# $Id$
#if !defined(MNS_MEQEXPR_H)
#ifndef MNS_MEQEXPR_H
#define MNS_MEQEXPR_H
// \file
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment