]> www.ginac.de Git - ginac.git/commitdiff
* Indentation and alignment fixes.
authorRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Wed, 6 Apr 2005 01:21:28 +0000 (01:21 +0000)
committerRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Wed, 6 Apr 2005 01:21:28 +0000 (01:21 +0000)
ginac/add.cpp
ginac/archive.cpp
ginac/clifford.cpp
ginac/inifcns.cpp
ginac/numeric.cpp
ginac/power.cpp

index 570c91fb9cbfcc17ad05a0b9c23da29b94021e21..d8e7be35558ed8213579701362d5c77a084d7fcf 100644 (file)
@@ -448,7 +448,7 @@ unsigned add::return_type() const
        else
                return seq.begin()->rest.return_type();
 }
-   
+
 unsigned add::return_type_tinfo() const
 {
        if (seq.empty())
index 53b40979464f0950ac0bb42cdfba5943b6fe2229..a25f8bd0d5857510dd8c371c19eeaed2f8f4a181 100644 (file)
@@ -188,9 +188,9 @@ static unsigned read_unsigned(std::istream &is)
        unsigned ret = 0;
        unsigned shift = 0;
        do {
-        char b2;
+               char b2;
                is.get(b2);
-        b = b2;
+               b = b2;
                ret |= (b & 0x7f) << shift;
                shift += 7;
        } while (b & 0x80);
index 8854d61624f8c63cdf7096d6b85b94fc6d9eabce..b337cd70c6c848490cba467236eac6c8bc86f487 100644 (file)
@@ -1087,7 +1087,7 @@ ex lst_to_clifford(const ex & v, const ex & e) {
        } else
                throw(std::invalid_argument("The second argument should be a Clifford unit"));
 }
+
 /** Auxiliary structure to define a function for striping one Clifford unit
  * from vectors. Used in  clifford_to_lst(). */
 static ex get_clifford_comp(const ex & e, const ex & c) 
index ab0dbb225ed17ae641d21d82bbb10d6bd0a071eb..b576ebcf52e39d56fddbf9294830e2575b2e1c7f 100644 (file)
@@ -67,10 +67,10 @@ static ex conjugate_conjugate(const ex & arg)
 }
 
 REGISTER_FUNCTION(conjugate_function, eval_func(conjugate_eval).
-                       evalf_func(conjugate_evalf).
-                       print_func<print_latex>(conjugate_print_latex).
-                       conjugate_func(conjugate_conjugate).
-                       set_name("conjugate","conjugate"));
+                                      evalf_func(conjugate_evalf).
+                                      print_func<print_latex>(conjugate_print_latex).
+                                      conjugate_func(conjugate_conjugate).
+                                      set_name("conjugate","conjugate"));
 
 //////////
 // absolute value
index d38458d7dedefddd23731f17d123ea6e7e79fe96..ff42ecadb060e7b139ce6c2a0d819c6ad926a80a 100644 (file)
@@ -1683,7 +1683,7 @@ const numeric bernoulli(const numeric &nn)
        if (n & 1)
                return (n==1) ? _num_1_2 : _num0;
        if (!n)
-                return _num1;
+               return _num1;
 
        // store nonvanishing Bernoulli numbers here
        static std::vector< cln::cl_RA > results;
index ba5f23be53c183980fb089435800a333d2b5b71c..2016a89f9ef87b36d73e19dedd912bf10ae03446 100644 (file)
@@ -614,7 +614,7 @@ unsigned power::return_type() const
 {
        return basis.return_type();
 }
-   
+
 unsigned power::return_type_tinfo() const
 {
        return basis.return_type_tinfo();