Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dtl::storage::FileMD: 書き出しファイルの拡張子はtxtではなくmdであるべきではないか? #17

Closed
yumetodo opened this issue May 18, 2019 · 2 comments
Labels
question Further information is requested
Milestone

Comments

@yumetodo
Copy link
Contributor

問題

/Sample/DTL/Storage/FileMD.cpp

dtl::storage::FileMD<shape_t>("file_sample.txt").write(matrix);

のように書かれています。名前的にMarkdownじゃないかとおもうのですが、すると拡張子は.txtではなく.mdが妥当ではないでしょうか?

動機

cmake からビルドしたサンプルを走らせるときに、実行前にこれで生成するファイル名を削除するようにする予定である ( #15 ) 。この際に/Sample/DTL/Storage/FileMD.cppだけコンパイルするファイル名(file[A-Z]+.cpp)のパターンに引っかからない拡張子が採用されている。例外処理を書くのがだるいので差し障りがなければこっちを書き換えて対処したい

@AsPJT
Copy link
Owner

AsPJT commented May 18, 2019

変更しました。
e48ecd0

@AsPJT AsPJT added the question Further information is requested label May 18, 2019
@yumetodo
Copy link
Contributor Author

ありがとうございます。

@AsPJT AsPJT modified the milestones: v0.4.9, v0.4.8 Sep 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants