| 362 | } |
| 363 | |
| 364 | af_err af_set_seq_param_indexer(af_index_t* indexer, const double begin, |
| 365 | const double end, const double step, |
| 366 | const dim_t dim, const bool is_batch) { |
| 367 | try { |
| 368 | ARG_ASSERT(0, (indexer != NULL)); |
| 369 | ARG_ASSERT(4, (dim >= 0 && dim <= 3)); |
| 370 | af_seq s = af_make_seq(begin, end, step); |
| 371 | indexer[dim].idx.seq = s; |
| 372 | indexer[dim].isSeq = true; |
| 373 | indexer[dim].isBatch = is_batch; |
| 374 | } |
| 375 | CATCHALL; |
| 376 | return AF_SUCCESS; |
| 377 | } |
| 378 | |
| 379 | af_err af_release_indexers(af_index_t* indexers) { |
| 380 | try { |
nothing calls this directly
no test coverage detected