| 79 | } |
| 80 | |
| 81 | bool get_option(const map<string, bool> &options, string key, bool or_val) { |
| 82 | auto found = options.find(key); |
| 83 | if (found != options.end()) |
| 84 | return found->second; |
| 85 | else |
| 86 | return or_val; |
| 87 | } |
| 88 | |
| 89 | Vector<bool> nonzero_pattern(CoefficientFunction *cf) { |
| 90 | Vector<AutoDiffDiff<1,NonZero>> nzvec_ad(cf->Dimension()); |
no test coverage detected