From 3a81e698479dccc583a90f241b8ee68361f7f653 Mon Sep 17 00:00:00 2001 From: nadolski <nadolski@9a6e40ed-f3a0-4838-9b4a-bf418f78e88d> Date: Sun, 23 Jun 2013 18:46:28 +0000 Subject: [PATCH] Comment --- tracy/tools/soltracy.cc | 2 +- tracy/tracy/src/field.cc | 1 + tracy/tracy/src/mathlib.cc | 2 -- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tracy/tools/soltracy.cc b/tracy/tools/soltracy.cc index 8160f74..6bfc9e1 100644 --- a/tracy/tools/soltracy.cc +++ b/tracy/tools/soltracy.cc @@ -42,7 +42,7 @@ int main(int argc, char *argv[]) { /* parameters to read the user input script .prm */ long i=0L; //initialize the for loop to read command string - long j=0L; //initialize the for loop to read the files from parallel computing + //long j=0L; //initialize the for loop to read the files from parallel computing char CommandStr[max_str]; double nux = 0.0, nuy = 0.0, ksix = 0.0, ksiy = 0.0; bool chroma=true; diff --git a/tracy/tracy/src/field.cc b/tracy/tracy/src/field.cc index f53bd15..ede54b3 100644 --- a/tracy/tracy/src/field.cc +++ b/tracy/tracy/src/field.cc @@ -106,6 +106,7 @@ ss_vect<double> operator*(const double a, const ss_vect<double> &b) { return ss_vect<double>(b) *= a; } +// initialize T to zero vector template<typename T> ss_vect<T> ss_vect<T>::zero(void) { diff --git a/tracy/tracy/src/mathlib.cc b/tracy/tracy/src/mathlib.cc index 77fd662..a103bec 100644 --- a/tracy/tracy/src/mathlib.cc +++ b/tracy/tracy/src/mathlib.cc @@ -137,10 +137,8 @@ double ranf(void) ****************************************************************************/ void setrancut(const double cut) { - printf("\n"); printf("setrancut: cut set to %3.1f\n", cut); - normcut_ = cut; } -- GitLab