]> www.ginac.de Git - cln.git/blobdiff - src/vector/output/cl_SV_aprint.cc
cl_{GV,SV}: use std::size_t for size of vectors (instead of obscure uintC).
[cln.git] / src / vector / output / cl_SV_aprint.cc
index f414e5a1833c499610e8731b3f8d3541d1f7d94c..41213cd0e478c22a4aeb145c9b0df08b18a44474 100644 (file)
@@ -1,7 +1,7 @@
 // fprint() for cl_SV_ringelt.
 
 // General includes.
-#include "cl_sysdep.h"
+#include "base/cl_sysdep.h"
 
 // Specification.
 #include "cln/SV_ringelt.h"
@@ -15,14 +15,14 @@ namespace cln {
 
 void fprint (std::ostream& stream, const cl_ring& R, const cl_SV_ringelt& vector)
 {
-       var const cl_print_flags& flags = default_print_flags;
-       var uintL len = vector.length();
+       const cl_print_flags& flags = default_print_flags;
+       std::size_t len = vector.size();
        if (flags.vector_syntax == vsyntax_commonlisp) {
                fprintchar(stream,'#');
                fprintchar(stream,'(');
        } else
                fprintchar(stream,'[');
-       for (var uintL i = 0; i < len; i++) {
+       for (std::size_t i = 0; i < len; i++) {
                if (i > 0) {
                        if (flags.vector_syntax == vsyntax_algebraic)
                                fprintchar(stream,',');