Skip to content

Commit

Permalink
replace windows end of line character
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Horel committed Apr 9, 2015
1 parent 6a124c1 commit 6f0354b
Show file tree
Hide file tree
Showing 4 changed files with 647 additions and 647 deletions.
12 changes: 6 additions & 6 deletions examples/c++/CsvHelper.hpp
@@ -1,6 +1,6 @@
#ifndef CSVHELPER_HPP_INCLUDED
#define CSVHELPER_HPP_INCLUDED

#ifndef CSVHELPER_HPP_INCLUDED
#define CSVHELPER_HPP_INCLUDED

#include <string>
#include <fstream>
#include <vector>
Expand Down Expand Up @@ -80,7 +80,7 @@ void readCSV_HestonParams(std::istream &input, std::vector<HESTONPARAMS> &output

template <typename T>
void readCSV_T(std::istream &input, std::vector<T> &output);


void write2DtoCsv(std::vector<std::vector<double> > &v, const char* filename, bool byRow);

#endif // CSVHELPER_HPP_INCLUDED

#endif // CSVHELPER_HPP_INCLUDED
8 changes: 4 additions & 4 deletions examples/c++/HestonTools.hpp
@@ -1,5 +1,5 @@
#ifndef HESTONTOOLS_HPP_INCLUDED
#define HESTONTOOLS_HPP_INCLUDED
#ifndef HESTONTOOLS_HPP_INCLUDED
#define HESTONTOOLS_HPP_INCLUDED

#include <ql/quantlib.hpp>
#include "CsvHelper.hpp"
Expand All @@ -14,5 +14,5 @@ std::vector<double> HestonCalibration(Handle<Quote> &s0, std::vector<CALIB> &c,

void HestonSimulate(std::vector<vector<double> >& res, Handle<Quote> &s0, std::vector<RD> &rd,
std::vector<double> p, int nbPaths, int nbSteps, Time horizon, BigNatural seed);

#endif // HESTONTOOLS_HPP_INCLUDED

#endif // HESTONTOOLS_HPP_INCLUDED

0 comments on commit 6f0354b

Please sign in to comment.