remove factories and change to size_t

This commit is contained in:
Bechir Braham
2024-04-10 13:34:31 +02:00
parent ea17a640cf
commit bfb59d650b
19 changed files with 302 additions and 342 deletions

View File

@ -12,7 +12,7 @@ using aare::Frame;
int main() {
auto path = std::filesystem::path("/tmp/test.npy");
auto dtype = aare::DType(typeid(uint32_t));
FileConfig cfg = {path, dtype, 100, 100};
FileConfig cfg = {dtype, 100, 100};
File npy(path, "w", cfg);
Frame f(100, 100, dtype.bitdepth());
for (int i = 0; i < 10000; i++) {