Skip to content

Commit 873468f

Browse files
committed
Minor fix.
1 parent 4187700 commit 873468f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SIL/SILVerifier.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5379,7 +5379,7 @@ void SILDifferentiabilityWitness::verify(const SILModule &M) const {
53795379
AutoDiffDerivativeFunctionKind::VJP, M.Types,
53805380
LookUpConformanceInModule(M.getSwiftModule()),
53815381
getDerivativeGenericSignature()->getCanonicalSignature());
5382-
SILVerifier(*jvp).requireSameType(
5382+
SILVerifier(*vjp).requireSameType(
53835383
SILType::getPrimitiveObjectType(vjp->getLoweredFunctionType()),
53845384
SILType::getPrimitiveObjectType(expectedVJPType),
53855385
"VJP type does not match expected VJP type");

0 commit comments

Comments
 (0)