Commit db480fdd authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

correction in calculate means

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 1266
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent eec448ea
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* *
* ---------------------------------------------------------------------------- * ----------------------------------------------------------------------------
* *
* $Id: polymodel.cc,v 1.6 2003-01-03 18:56:53 forbrig Exp $ * $Id: polymodel.cc,v 1.7 2003-01-03 19:38:05 forbrig Exp $
* \author Thomas Forbriger * \author Thomas Forbriger
* \date 30/12/2002 * \date 30/12/2002
* *
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#define TF_POLYMODEL_CC_VERSION \ #define TF_POLYMODEL_CC_VERSION \
"TF_POLYMODEL_CC V1.1" "TF_POLYMODEL_CC V1.1"
#define TF_POLYMODEL_CC_CVSID \ #define TF_POLYMODEL_CC_CVSID \
"$Id: polymodel.cc,v 1.6 2003-01-03 18:56:53 forbrig Exp $" "$Id: polymodel.cc,v 1.7 2003-01-03 19:38:05 forbrig Exp $"
#include <gremlin1/polymodel.h> #include <gremlin1/polymodel.h>
#include <tfxx/error.h> #include <tfxx/error.h>
...@@ -378,7 +378,7 @@ namespace gremlin1 { ...@@ -378,7 +378,7 @@ namespace gremlin1 {
Mmeans=Tarray(norder,nsections(),nparameters); Mmeans=Tarray(norder,nsections(),nparameters);
for (int isec=Mmeans.f(1); isec<=Mmeans.l(1); ++isec) for (int isec=Mmeans.f(1); isec<=Mmeans.l(1); ++isec)
{ {
for (int ipar=Mmeans.f(2); isec<=Mmeans.l(2); ++ipar) for (int ipar=Mmeans.f(2); ipar<=Mmeans.l(2); ++ipar)
{ {
Mmeans(3,isec,ipar)=2.*Mpara(3,isec,ipar); Mmeans(3,isec,ipar)=2.*Mpara(3,isec,ipar);
Mmeans(2,isec,ipar)=Mpara(2,isec,ipar); Mmeans(2,isec,ipar)=Mpara(2,isec,ipar);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment