Commit 792a5d63be5322b12a120868749df147391bc305

Authored by Jiaming Guo
1 parent e0e01dfb

fix minor bugs

Showing 2 changed files with 2 additions and 3 deletions   Show diff stats
stim/math/matrix.h
... ... @@ -408,7 +408,7 @@ public:
408 408  
409 409 //save the data as a CSV file
410 410 void csv(std::string filename) const {
411   - ofstream basisfile(filename.c_str());
  411 + std::ofstream basisfile(filename.c_str());
412 412 basisfile << csv();
413 413 basisfile.close();
414 414 }
... ... @@ -436,7 +436,7 @@ public:
436 436 }
437 437  
438 438 void raw(std::string filename) {
439   - ofstream out(filename, std::ios::binary);
  439 + std::ofstream out(filename, std::ios::binary);
440 440 if (out) {
441 441 out.write((char*)data(), rows() * cols() * sizeof(T));
442 442 out.close();
... ...
stim/visualization/camera.h
... ... @@ -72,7 +72,6 @@ public:
72 72 delta = focus;
73 73  
74 74 focus -= delta;
75   - std::cout << focus << std::endl;
76 75  
77 76 Dolly(d*delta);
78 77 }
... ...