mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
change transMult() and poroMult() to match autodiff.
This commit is contained in:
parent
06d2534b3d
commit
b754d77810
@ -2367,7 +2367,7 @@ namespace detail {
|
|||||||
}
|
}
|
||||||
return ADB::function(std::move(pm), std::move(jacs));
|
return ADB::function(std::move(pm), std::move(jacs));
|
||||||
} else {
|
} else {
|
||||||
return ADB::constant(V::Constant(n, 1.0), p.blockPattern());
|
return ADB::constant(V::Constant(n, 1.0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2395,7 +2395,7 @@ namespace detail {
|
|||||||
}
|
}
|
||||||
return ADB::function(std::move(tm), std::move(jacs));
|
return ADB::function(std::move(tm), std::move(jacs));
|
||||||
} else {
|
} else {
|
||||||
return ADB::constant(V::Constant(n, 1.0), p.blockPattern());
|
return ADB::constant(V::Constant(n, 1.0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user